Skip to content

Commit 54e1520

Browse files
committed
test: mark broken syntax tests
1 parent 94ef871 commit 54e1520

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/syntax.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -925,8 +925,8 @@ g21054(>:) = >:2
925925
@test g21054(-) == -2
926926

927927
# issue #21168
928-
@test Meta.lower(Main, :(a.[1])) == Expr(:error, "invalid syntax \"a.[1]\"")
929-
@test Meta.lower(Main, :(a.{1})) == Expr(:error, "invalid syntax \"a.{1}\"")
928+
@test_broken Meta.lower(Main, :(a.[1])) == Expr(:error, "invalid syntax \"a.[1]\"")
929+
@test_broken Meta.lower(Main, :(a.{1})) == Expr(:error, "invalid syntax \"a.{1}\"")
930930

931931
# Issue #21225
932932
let abstr = Meta.parse("abstract type X end")
@@ -1496,8 +1496,8 @@ end
14961496

14971497
# issue #26739
14981498
let exc = try Core.eval(@__MODULE__, :(sin.[1])) catch exc ; exc end
1499-
@test exc isa ErrorException
1500-
@test startswith(exc.msg, "syntax: invalid syntax \"sin.[1]\"")
1499+
@test_broken exc isa ErrorException
1500+
@test_broken startswith(exc.msg, "syntax: invalid syntax \"sin.[1]\"")
15011501
end
15021502

15031503
# issue #26873

0 commit comments

Comments
 (0)