Skip to content

Commit

Permalink
test/numbers.jl: use === instead of is (cosmetic).
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Jan 22, 2014
1 parent 1242782 commit f7b67fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/numbers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ for T = (Uint8,Int8,Uint16,Int16,Uint32,Int32,Uint64,Int64,Uint128,Int128)
end
end

@test is(false*pi, 0.0)
@test is(true*pi, float64(pi))
@test is(pi*false, 0.0)
@test is(pi*true, float64(pi))
@test false*pi === 0.0
@test pi*false === 0.0
@test true*pi === float64(pi)
@test pi*true === float64(pi)

0 comments on commit f7b67fe

Please sign in to comment.