Skip to content

Commit

Permalink
Add parse test for 🢲
Browse files Browse the repository at this point in the history
  • Loading branch information
pthariensflame committed Feb 4, 2025
1 parent ee83d1f commit e9baf11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2279,6 +2279,11 @@ end
@test Meta.parse("a ⥷ b") == Expr(:call, :⥷, :a, :b)
end

# issue 57143
@testset "binary 🢲" begin
@test Meta.parse("a 🢲 b") == Expr(:call, :🢲, :a, :b)
end

# only allow certain characters after interpolated vars (#25231)
@test_parseerror("\"\$xà·´ \"",
"interpolated variable \$x ends with invalid character \"à·´\"; use \"\$(x)\" instead.")
Expand Down

0 comments on commit e9baf11

Please sign in to comment.