diff options
| author | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-03-17 22:22:32 +0800 |
|---|---|---|
| committer | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-04-14 10:36:11 +0800 |
| commit | c73598f0fb0ef2cfcdc784e577a96bb8041445ba (patch) | |
| tree | f44a0bb38416b3778fa96f68dbd7196e638aeccb /tests/rustdoc-ui | |
| parent | 6e830462330a9e34d8176e86d4580dd0820c6fd5 (diff) | |
Report span of test when should_panic test failed
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Diffstat (limited to 'tests/rustdoc-ui')
| -rw-r--r-- | tests/rustdoc-ui/doctest/failed-doctest-should-panic.stdout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-ui/doctest/failed-doctest-should-panic.stdout b/tests/rustdoc-ui/doctest/failed-doctest-should-panic.stdout index 90c0463d832..2b04b77c9dc 100644 --- a/tests/rustdoc-ui/doctest/failed-doctest-should-panic.stdout +++ b/tests/rustdoc-ui/doctest/failed-doctest-should-panic.stdout @@ -5,7 +5,7 @@ test $DIR/failed-doctest-should-panic.rs - Foo (line 10) - should panic ... FAIL failures: ---- $DIR/failed-doctest-should-panic.rs - Foo (line 10) stdout ---- -note: test did not panic as expected +note: test did not panic as expected at $DIR/failed-doctest-should-panic.rs:10:0 failures: $DIR/failed-doctest-should-panic.rs - Foo (line 10) |
