Skip to content

Commit b19d81d

Browse files
committed
add a few more "global" tests
1 parent 408dfac commit b19d81d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/parser.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,4 +1466,12 @@ end
14661466
@test test_expr("a => b, c, d")
14671467
@test test_expr("a, a => b, c, d")
14681468
end
1469+
1470+
@testset "global" begin
1471+
@test test_expr("global a")
1472+
@test test_expr("global a = 1")
1473+
@test test_expr("global a = 1, b")
1474+
@test test_expr("global a, b")
1475+
@test test_expr("global a, b = 2")
1476+
end
14691477
end

0 commit comments

Comments
 (0)