Skip to content

Commit

Permalink
Fix Win32 test
Browse files Browse the repository at this point in the history
  • Loading branch information
helgee committed Aug 5, 2018
1 parent 915a934 commit 174503e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/epochs.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@testset "Epochs" begin
ep = Epoch2{TDB}(100000, 1e-18)
ep = Epoch2{TDB}(Int64(100000), 1e-18)
ep1 = Epoch2{TDB}(ep, 100 * 365.25 * 86400)
@test ep.offset == ep1.offset

Expand All @@ -10,7 +10,7 @@
@test ep1.epoch == typemin(Int64)
@test ep1.offset == -Inf

tai = Epoch2{TAI}(100000, 0.0)
tai = Epoch2{TAI}(Int64(100000), 0.0)
tt = Epoch2{TT}(tai)
@test tt.epoch == 100032
@test tt.offset 0.184
Expand Down

0 comments on commit 174503e

Please sign in to comment.