mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-13 03:21:20 +08:00
20 lines
559 B
Plaintext
Executable File
20 lines
559 B
Plaintext
Executable File
$ cargo test
|
|
Compiling guessing_game v0.1.0 (file:///projects/guessing_game)
|
|
Finished test [unoptimized + debuginfo] target(s) in 0.62s
|
|
Running unittests (target/debug/deps/guessing_game-57d70c3acb738f4d)
|
|
|
|
running 1 test
|
|
test tests::greater_than_100 - should panic ... FAILED
|
|
|
|
failures:
|
|
|
|
---- tests::greater_than_100 stdout ----
|
|
note: test did not panic as expected
|
|
|
|
failures:
|
|
tests::greater_than_100
|
|
|
|
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
error: test failed, to rerun pass '--lib'
|