]> git.proxmox.com Git - rustc.git/blob - src/doc/book/listings/ch11-writing-automated-tests/listing-11-03/output.txt
New upstream version 1.43.0+dfsg1
[rustc.git] / src / doc / book / listings / ch11-writing-automated-tests / listing-11-03 / output.txt
1 $ cargo test
2 Compiling adder v0.1.0 (file:///projects/adder)
3 Finished test [unoptimized + debuginfo] target(s) in 0.72s
4 Running target/debug/deps/adder-92948b65e88960b4
5
6 running 2 tests
7 test tests::another ... FAILED
8 test tests::exploration ... ok
9
10 failures:
11
12 ---- tests::another stdout ----
13 thread 'main' panicked at 'Make this test fail', src/lib.rs:10:9
14 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
15
16
17 failures:
18 tests::another
19
20 test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
21
22 error: test failed, to rerun pass '--lib'