We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c4d9e2 commit a8c7252Copy full SHA for a8c7252
test/basic.jl
@@ -937,8 +937,12 @@ end
937
@test String(sym) == string(Char(0xdcdb))
938
@test Meta.lower(Main, sym) === sym
939
res = string(Meta.parse(string(Char(0xdcdb)," = 1"),1,raise=false)[1])
940
- @test startswith(res, "\$(Expr(:error, \"invalid character \\\"\\udcdb\\\"")
941
- @test endswith(res, "\"))")
+ @static if VERSION ≥ v"1.5.0-DEV.460"
+ @test res == "\$(Expr(:error, \"invalid UTF-8 sequence\"))"
942
+ else
943
+ @test startswith(res, "\$(Expr(:error, \"invalid character \\\"\\udcdb\\\"")
944
+ @test endswith(res, "\"))")
945
+ end
946
end
947
948
@testset "invalid code point" begin
0 commit comments