Skip to content

Commit 0f2212a

Browse files
committed
fix tests
1 parent 484df21 commit 0f2212a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/parser.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -829,9 +829,11 @@ end
829829
""" |> test_expr
830830
@test "function f() ::T end" |> test_expr # ws closer
831831
@test "import Base: +, -, .+, .-" |> test_expr
832-
@test "import Base.:+" |> test_expr
833-
@test "import Base.:⋅" |> test_expr
834-
@test "import Base.:sin, Base.:-" |> test_expr
832+
if VERSION > v"1.6-"
833+
@test "import Base.:+" |> test_expr
834+
@test "import Base.:⋅" |> test_expr
835+
@test "import Base.:sin, Base.:-" |> test_expr
836+
end
835837
@test "[a + + l]" |> test_expr # ws closer
836838
@test "@inbounds C[i,j] = - α[i] * αjc" |> test_expr
837839
@test "@inbounds C[i,j] = - n * p[i] * pj" |> test_expr

0 commit comments

Comments
 (0)