Skip to content

Commit

Permalink
Fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
sostock committed Jun 18, 2020
1 parent fb90227 commit 4ddde0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/dates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
@test_throws AffineError Second(1) * 1u"°C"
@test_throws AffineError 1u"°C" * Second(1)
# Multiplication with unit
@test Week(5) * u"Hz" === 5.0u"wk*Hz"
@test Week(5) * u"Hz" === Int64(5)u"wk*Hz"
@test u"mm" * Millisecond(20) === Int64(20)u"mm*ms"
@test u"ms^-1" * Millisecond(20) === Int64(20)
@test_throws AffineError Second(1) * u"°C"
Expand Down

0 comments on commit 4ddde0e

Please sign in to comment.