- Notifications
You must be signed in to change notification settings - Fork26
Open
Description
I rancargo test
on the current repo and got two errors:
failures:---- test_from_str_at_date_day stdout ----thread 'test_from_str_at_date_day' panicked at 'assertion failed: `(left == right)` left: `Duration { secs: 0, nanos: 0 }`, right: `Duration { secs: 86400, nanos: 0 }`', tests/simple.rs:133:5note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace---- test_duration_parsing stdout ----thread 'test_duration_parsing' panicked at 'assertion failed: `(left == right)` left: `Duration { secs: 31449600, nanos: 0 }`, right: `Duration { secs: 31536000, nanos: 0 }`', tests/simple.rs:16:5failures: test_duration_parsing test_from_str_at_date_daytest result: FAILED. 4 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01serror: test failed, to rerun pass `--test simple`
I did not get the errors before, so it might have to do with the my timezone. It looks like there might be an error or a different usage between JST and UTC.
Metadata
Metadata
Assignees
Labels
No labels