From 7c56556276cbfc1a166b84b323bf2d9f20abb767 Mon Sep 17 00:00:00 2001 From: Simeon Schaub Date: Fri, 21 Feb 2020 15:42:04 +0100 Subject: [PATCH] add test --- test/parse.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/parse.jl b/test/parse.jl index 2deeecd516f2a..93946b603ba01 100644 --- a/test/parse.jl +++ b/test/parse.jl @@ -310,3 +310,8 @@ end @test isequal(parse(Float64, s), sign(v)) end end + +@testset "unary ± and ∓" begin + @test Meta.parse("±x") == Expr(:call, :±, :x) + @test Meta.parse("∓x") == Expr(:call, :∓, :x) +end