Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 19, 2016
1 parent 9096b7d commit 67517c8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4479,3 +4479,12 @@ function h17449(v)
return r[]
end
@test h17449(true) === :k

# PR #17393
for op in (:.==, :.&, :.|, :.≤)
@test parse("a $op b") == Expr(:call, op, :a, :b)
end
for op in (:.=, :.+=)
@test parse("a $op b") == Expr(op, :a, :b)
end

0 comments on commit 67517c8

Please sign in to comment.