Skip to content

Commit 893bb8e

Browse files
committed
Fix test output.
1 parent 0e72940 commit 893bb8e

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/tools/miri/tests/fail/panic/thread_local_const_drop_panic.stderr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
thread $NAME panicked at 'ow', $DIR/thread_local_const_drop_panic.rs:LL:CC
1+
thread $NAME panicked at $DIR/thread_local_const_drop_panic.rs:LL:CC:
2+
ow
23
fatal runtime error: thread local panicked on drop
34
error: abnormal termination: the program aborted execution
45

src/tools/miri/tests/fail/panic/thread_local_drop_panic.stderr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
thread $NAME panicked at 'ow', $DIR/thread_local_drop_panic.rs:LL:CC
1+
thread $NAME panicked at $DIR/thread_local_drop_panic.rs:LL:CC:
2+
ow
23
fatal runtime error: thread local panicked on drop
34
error: abnormal termination: the program aborted execution
45

tests/rustdoc-ui/ice-bug-report-url.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// normalize-stderr-test "note: compiler flags.*\n\n" -> ""
88
// normalize-stderr-test "note: rustc.*running on.*" -> "note: rustc {version} running on {platform}"
9-
// normalize-stderr-test "thread.*panicked at .*, compiler.*" -> "thread panicked at 'aborting due to `-Z treat-err-as-bug`'"
9+
// normalize-stderr-test "thread.*panicked at compiler.*" -> ""
1010
// normalize-stderr-test " +\d{1,}: .*\n" -> ""
1111
// normalize-stderr-test " + at .*\n" -> ""
1212
// normalize-stderr-test ".*note: Some details are omitted.*\n" -> ""

tests/rustdoc-ui/ice-bug-report-url.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: expected one of `->`, `where`, or `{`, found `<eof>`
44
LL | fn wrong()
55
| ^ expected one of `->`, `where`, or `{`
66

7-
thread 'rustc' panicked at compiler/rustc_errors/src/lib.rs:1711:30:
7+
88
aborting due to `-Z treat-err-as-bug=1`
99
stack backtrace:
1010

0 commit comments

Comments
 (0)