From e9baf115c459511f638b2ea45c049281e6bf8e0e Mon Sep 17 00:00:00 2001 From: Laine Taffin Altman Date: Sun, 2 Feb 2025 20:02:12 -0800 Subject: [PATCH] =?UTF-8?q?Add=20parse=20test=20for=20=F0=9F=A2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/syntax.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/syntax.jl b/test/syntax.jl index f29dd4978d309..5041d716786a6 100644 --- a/test/syntax.jl +++ b/test/syntax.jl @@ -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.")