]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | $ cargo test |
2 | Compiling rectangle v0.1.0 (file:///projects/rectangle) | |
3 | Finished test [unoptimized + debuginfo] target(s) in 0.66s | |
923072b8 | 4 | Running unittests src/lib.rs (target/debug/deps/rectangle-6584c4561e48942e) |
74b04a01 XL |
5 | |
6 | running 2 tests | |
7 | test tests::larger_can_hold_smaller ... FAILED | |
8 | test tests::smaller_cannot_hold_larger ... ok | |
9 | ||
10 | failures: | |
11 | ||
12 | ---- tests::larger_can_hold_smaller stdout ---- | |
13 | thread 'main' panicked at 'assertion failed: larger.can_hold(&smaller)', src/lib.rs:28:9 | |
fc512014 | 14 | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
74b04a01 XL |
15 | |
16 | ||
17 | failures: | |
18 | tests::larger_can_hold_smaller | |
19 | ||
6a06907d | 20 | test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s |
74b04a01 XL |
21 | |
22 | error: test failed, to rerun pass '--lib' |