|
| 1 | + |
| 2 | +running 6 tests |
| 3 | +test should_panic_with_any_message - should panic ... ok |
| 4 | +test should_panic_with_any_message_does_not_panic - should panic ... FAILED |
| 5 | +test should_panic_with_message - should panic ... ok |
| 6 | +test should_panic_with_message_does_not_panic - should panic ... FAILED |
| 7 | +test should_panic_with_substring_panics_with_incorrect_string - should panic ... FAILED |
| 8 | +test should_panic_with_substring_panics_with_non_string_value - should panic ... FAILED |
| 9 | + |
| 10 | +failures: |
| 11 | + |
| 12 | +---- should_panic_with_any_message_does_not_panic stdout ---- |
| 13 | +note: test did not panic as expected at $DIR/test-should-panic-failed-show-span.rs:25:4 |
| 14 | +---- should_panic_with_message_does_not_panic stdout ---- |
| 15 | +note: test did not panic as expected at $DIR/test-should-panic-failed-show-span.rs:31:4 |
| 16 | +---- should_panic_with_substring_panics_with_incorrect_string stdout ---- |
| 17 | +note: panic did not contain expected string |
| 18 | + panic message: `"ZOMGWTFBBQ"`, |
| 19 | + expected substring: `"message"` |
| 20 | +---- should_panic_with_substring_panics_with_non_string_value stdout ---- |
| 21 | +note: expected panic with string value, |
| 22 | + found non-string value: `TypeId($HEX)` |
| 23 | + expected substring: `"message"` |
| 24 | + |
| 25 | +failures: |
| 26 | + should_panic_with_any_message_does_not_panic |
| 27 | + should_panic_with_message_does_not_panic |
| 28 | + should_panic_with_substring_panics_with_incorrect_string |
| 29 | + should_panic_with_substring_panics_with_non_string_value |
| 30 | + |
| 31 | +test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME |
| 32 | + |
0 commit comments