File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ mod __doctest_mod {{
131131 .output()
132132 .expect(\" failed to run command\" );
133133 if !out.status.success() {{
134- eprintln !(\" {{}}\" , String::from_utf8_lossy(&out.stderr));
134+ eprint !(\" {{}}\" , String::from_utf8_lossy(&out.stderr));
135135 ExitCode::FAILURE
136136 }} else {{
137137 ExitCode::SUCCESS
Original file line number Diff line number Diff line change 44//@ edition: 2024
55//@ compile-flags: --test
66//@ normalize-stdout: "tests/rustdoc-ui/doctest" -> "$$DIR"
7+ //@ normalize-stdout: "panicked at .+rs:" -> "panicked at $$TMP:"
78//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
89//@ failure-status: 101
910
Original file line number Diff line number Diff line change 11
22running 1 test
3- test tests/rustdoc-ui/ edition-2024-doctest- error-output.rs - (line 10 ) ... FAILED
3+ test $DIR/ edition-2024-error-output.rs - (line 11 ) ... FAILED
44
55failures:
66
7- ---- tests/rustdoc-ui/ edition-2024-doctest- error-output.rs - (line 10 ) stdout ----
7+ ---- $DIR/ edition-2024-error-output.rs - (line 11 ) stdout ----
88
9- thread 'main' panicked at /tmp/rustdoctestSZq9aS/doctest_bundle_2024.rs :6:1:
9+ thread 'main' panicked at $TMP :6:1:
1010assertion `left == right` failed
1111 left: 4
1212 right: 5
@@ -24,9 +24,8 @@ stack backtrace:
2424note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2525
2626
27-
2827failures:
29- tests/rustdoc-ui/ edition-2024-doctest- error-output.rs - (line 10 )
28+ $DIR/ edition-2024-error-output.rs - (line 11 )
3029
3130test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
3231
You can’t perform that action at this time.
0 commit comments