]> git.proxmox.com Git - rustc.git/blob - src/doc/book/listings/ch11-writing-automated-tests/no-listing-08-guess-with-bug/output.txt
New upstream version 1.54.0+dfsg1
[rustc.git] / src / doc / book / listings / ch11-writing-automated-tests / no-listing-08-guess-with-bug / output.txt
1 $ cargo test
2 Compiling guessing_game v0.1.0 (file:///projects/guessing_game)
3 Finished test [unoptimized + debuginfo] target(s) in 0.62s
4 Running unittests (target/debug/deps/guessing_game-57d70c3acb738f4d)
5
6 running 1 test
7 test tests::greater_than_100 ... FAILED
8
9 failures:
10
11 ---- tests::greater_than_100 stdout ----
12 note: test did not panic as expected
13
14 failures:
15 tests::greater_than_100
16
17 test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
18
19 error: test failed, to rerun pass '--lib'