Skip to content

Commit 1d746d1

Browse files
committed
fix random char test
1 parent fbd9337 commit 1d746d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parser.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,7 @@ end
11441144
@test CSTParser.parse(raw"'\U222ää'").head == :errortoken
11451145
@test CSTParser.parse(raw"'\U10000001'").head == :errortoken
11461146
for c in rand(Char, 1000)
1147+
c == '\\' && continue
11471148
@test test_expr(string("'", c, "'"))
11481149
end
11491150
end

0 commit comments

Comments
 (0)