Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonschaub committed Mar 9, 2020
1 parent 99f5002 commit 7c56556
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7c56556

Please sign in to comment.