Fix line numbers
This commit is contained in:
parent
dae1df68b0
commit
daa903c462
2 changed files with 15 additions and 15 deletions
|
@ -1,13 +1,13 @@
|
||||||
|
|
||||||
running 2 tests
|
running 2 tests
|
||||||
test $DIR/failed-doctest-output.rs - OtherStruct (line 22) ... FAILED
|
test $DIR/failed-doctest-output-windows.rs - OtherStruct (line 25) ... FAILED
|
||||||
test $DIR/failed-doctest-output.rs - SomeStruct (line 12) ... FAILED
|
test $DIR/failed-doctest-output-windows.rs - SomeStruct (line 15) ... FAILED
|
||||||
|
|
||||||
failures:
|
failures:
|
||||||
|
|
||||||
---- $DIR/failed-doctest-output.rs - OtherStruct (line 22) stdout ----
|
---- $DIR/failed-doctest-output-windows.rs - OtherStruct (line 25) stdout ----
|
||||||
error[E0425]: cannot find value `no` in this scope
|
error[E0425]: cannot find value `no` in this scope
|
||||||
--> $DIR/failed-doctest-output.rs:23:1
|
--> $DIR/failed-doctest-output-windows.rs:26:1
|
||||||
|
|
|
|
||||||
LL | no
|
LL | no
|
||||||
| ^^ not found in this scope
|
| ^^ not found in this scope
|
||||||
|
@ -16,7 +16,7 @@ error: aborting due to previous error
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0425`.
|
For more information about this error, try `rustc --explain E0425`.
|
||||||
Couldn't compile the test.
|
Couldn't compile the test.
|
||||||
---- $DIR/failed-doctest-output.rs - SomeStruct (line 12) stdout ----
|
---- $DIR/failed-doctest-output-windows.rs - SomeStruct (line 15) stdout ----
|
||||||
Test executable failed (exit code: 101).
|
Test executable failed (exit code: 101).
|
||||||
|
|
||||||
stdout:
|
stdout:
|
||||||
|
@ -26,14 +26,14 @@ stdout 2
|
||||||
stderr:
|
stderr:
|
||||||
stderr 1
|
stderr 1
|
||||||
stderr 2
|
stderr 2
|
||||||
thread 'main' panicked at 'oh no', $DIR/failed-doctest-output.rs:7:1
|
thread 'main' panicked at 'oh no', $DIR/failed-doctest-output-windows.rs:7:1
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
failures:
|
failures:
|
||||||
$DIR/failed-doctest-output.rs - OtherStruct (line 22)
|
$DIR/failed-doctest-output-windows.rs - OtherStruct (line 25)
|
||||||
$DIR/failed-doctest-output.rs - SomeStruct (line 12)
|
$DIR/failed-doctest-output-windows.rs - SomeStruct (line 15)
|
||||||
|
|
||||||
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
|
|
||||||
running 2 tests
|
running 2 tests
|
||||||
test $DIR/failed-doctest-output.rs - OtherStruct (line 22) ... FAILED
|
test $DIR/failed-doctest-output.rs - OtherStruct (line 25) ... FAILED
|
||||||
test $DIR/failed-doctest-output.rs - SomeStruct (line 12) ... FAILED
|
test $DIR/failed-doctest-output.rs - SomeStruct (line 15) ... FAILED
|
||||||
|
|
||||||
failures:
|
failures:
|
||||||
|
|
||||||
---- $DIR/failed-doctest-output.rs - OtherStruct (line 22) stdout ----
|
---- $DIR/failed-doctest-output.rs - OtherStruct (line 25) stdout ----
|
||||||
error[E0425]: cannot find value `no` in this scope
|
error[E0425]: cannot find value `no` in this scope
|
||||||
--> $DIR/failed-doctest-output.rs:23:1
|
--> $DIR/failed-doctest-output.rs:26:1
|
||||||
|
|
|
|
||||||
LL | no
|
LL | no
|
||||||
| ^^ not found in this scope
|
| ^^ not found in this scope
|
||||||
|
@ -16,7 +16,7 @@ error: aborting due to previous error
|
||||||
|
|
||||||
For more information about this error, try `rustc --explain E0425`.
|
For more information about this error, try `rustc --explain E0425`.
|
||||||
Couldn't compile the test.
|
Couldn't compile the test.
|
||||||
---- $DIR/failed-doctest-output.rs - SomeStruct (line 12) stdout ----
|
---- $DIR/failed-doctest-output.rs - SomeStruct (line 15) stdout ----
|
||||||
Test executable failed (exit status: 101).
|
Test executable failed (exit status: 101).
|
||||||
|
|
||||||
stdout:
|
stdout:
|
||||||
|
@ -32,8 +32,8 @@ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
|
|
||||||
|
|
||||||
failures:
|
failures:
|
||||||
$DIR/failed-doctest-output.rs - OtherStruct (line 22)
|
$DIR/failed-doctest-output.rs - OtherStruct (line 25)
|
||||||
$DIR/failed-doctest-output.rs - SomeStruct (line 12)
|
$DIR/failed-doctest-output.rs - SomeStruct (line 15)
|
||||||
|
|
||||||
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue