Auto merge of #138603 - xizheyin:issue-137405, r=chenyukang
Report line number of test when should_panic test failed Closes #137405 --- try-job: x86_64-gnu-llvm-19-3 try-job: test-various
This commit is contained in:
commit
07d3fd1d9b
5 changed files with 98 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue