1 $ cargo test -- --show-output
2 Compiling silly-function v0.1.0 (file:///projects/silly-function)
3 Finished test [unoptimized + debuginfo] target(s) in 0.60s
4 Running target/debug/deps/silly_function-160869f38cff9166
7 test tests::this_test_will_fail ... FAILED
8 test tests::this_test_will_pass ... ok
12 ---- tests::this_test_will_pass stdout ----
17 tests::this_test_will_pass
21 ---- tests::this_test_will_fail stdout ----
23 thread 'main' panicked at 'assertion failed: `(left == right)`
25 right: `10`', src/lib.rs:19:9
26 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
30 tests::this_test_will_fail
32 test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
34 error: test failed, to rerun pass '--lib'