Cargo test fails at 0:20 JST
まだ誰も着手していません。
評価
調査の方向性
失敗は tests/simple.rs の 16 行目と 133 行目で報告されています。まず cargo test --test simple を実行し、それらのテストケースを調べてください。期待される期間を、レポート内のタイムゾーンのコンテキストと比較し、JST と UTC の違いも含めて確認してください。期待される動作が確立され、失敗していたテストが一貫して通るようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I ran cargo 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:5
note: 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:5
failures:
test_duration_parsing
test_from_str_at_date_day
test result: FAILED. 4 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
error: 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.
- 主要言語
- Rust
- スター
- 37
- フォーク
- 39
- 平均マージ
- 17時間 48分
- マージ済み PR(30日)
- 8
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uutils/parse_datetime のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
uutils/parse_datetime#317 ·
-
bug good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
uutils/parse_datetime#279 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
uutils/parse_datetime#240 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
uutils/parse_datetime#160 · コメント 10 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
uutils/parse_datetime#82 ·
uutils/parse_datetime の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
nautechsystems/nautilus_trader#5095 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
stellar/rs-soroban-env#1739 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug good first issue package: quic
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100