]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | $ cargo test |
2 | Compiling greeter v0.1.0 (file:///projects/greeter) | |
3 | Finished test [unoptimized + debuginfo] target(s) in 0.91s | |
4 | Running target/debug/deps/greeter-170b942eb5bf5e3a | |
5 | ||
6 | running 1 test | |
7 | test tests::greeting_contains_name ... FAILED | |
8 | ||
9 | failures: | |
10 | ||
11 | ---- tests::greeting_contains_name stdout ---- | |
6a06907d | 12 | thread 'main' panicked at 'assertion failed: result.contains(\"Carol\")', src/lib.rs:12:9 |
fc512014 | 13 | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
74b04a01 XL |
14 | |
15 | ||
16 | failures: | |
17 | tests::greeting_contains_name | |
18 | ||
6a06907d | 19 | test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s |
74b04a01 XL |
20 | |
21 | error: test failed, to rerun pass '--lib' |