Skip to content

Commit

Permalink
Keep test spicy.rt.time working for the next 200 years.
Browse files Browse the repository at this point in the history
This test still compares the current time against hardcoded times to
check ordering. Extend the upper value so this test passes for the next
~200 years.

(cherry picked from commit 93c2cc8)
  • Loading branch information
bbannier committed Jan 6, 2025
1 parent 266ac83 commit 178810c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spicy/rt/time.spicy
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ module Test;
import spicy;

global t = spicy::current_time();
assert t > time(1564617600) && t < time(1735689600);
assert t > time(1000000000) && t < time(8000000000);

0 comments on commit 178810c

Please sign in to comment.