We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1524fe commit e3d8cdcCopy full SHA for e3d8cdc
vlib/time/time_test.c.v
@@ -15,9 +15,9 @@ fn test_tm_gmtoff() {
15
dump(t2)
16
dump(t1.nanosecond)
17
dump(t2.nanosecond)
18
- diff := t1.unix() - t2.unix()
+ diff := int(t1.unix() - t2.unix())
19
dump(diff)
20
dump(info.tm_gmtoff)
21
- assert info.tm_gmtoff == diff
+ assert diff in [info.tm_gmtoff - 1, info.tm_gmtoff, info.tm_gmtoff + 1]
22
}
23
0 commit comments