Skip to content

Commit 260544f

Browse files
committed
add tests
1 parent 0cb496c commit 260544f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/time_index_conversions.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ end
2626
(Nanosecond(12345), Minute(5), Nanosecond(Minute(5)) + Nanosecond(1),
2727
Nanosecond(1), Nanosecond(10^6), Nanosecond(6970297031),
2828
Nanosecond(230000000001), Nanosecond(ceil(Int, 10^9 / rate) + 1),
29-
Nanosecond(1000000000))
29+
Nanosecond(1000000000), Nanosecond(1000000000) - Nanosecond(1))
3030
# compute with a very simple algorithm
3131
index = naive_index_from_time(rate, sample_time)
3232
# Check against our `TimeSpans.index_from_time`:

0 commit comments

Comments
 (0)