Cargo test fails at 0:20 JST
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
I fallimenti sono segnalati in tests/simple.rs alle righe 16 e 133; inizia eseguendo cargo test --test simple ed esaminando quei casi di test. Confronta le durate attese con il contesto del fuso orario nel report, inclusa la distinzione tra JST e UTC. Il lavoro è completato quando il comportamento atteso è stabilito e i test che fallivano passano in modo coerente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 37
- Fork
- 39
- Merge medio
- 17h 48m
- PR unite (30g)
- 8
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di uutils/parse_datetime
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
uutils/parse_datetime#317 ·
-
bug good first issue
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
uutils/parse_datetime#279 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
uutils/parse_datetime#240 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
uutils/parse_datetime#160 · 10 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
uutils/parse_datetime#82 ·
Tutte le issue di uutils/parse_datetime
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
state:needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
zed-industries/zed#64680 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
RustPython/RustPython#8802 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
TheLarkInn/aipm#2390 ·