diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2023-07-29 11:47:26 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2023-07-29 11:47:26 +0200 |
| commit | 4017c5c945e043b1e8d3ab03b4c7cc071178dadd (patch) | |
| tree | ea370a0b75f5bf55e46a3091265e9666381b793f | |
| parent | 893bb8e1ce0721524be9853c55c3b80b871eebea (diff) | |
| download | rust-4017c5c945e043b1e8d3ab03b4c7cc071178dadd.tar.gz rust-4017c5c945e043b1e8d3ab03b4c7cc071178dadd.zip | |
Fix tests.
| -rw-r--r-- | tests/ui/consts/precise-drop-with-promoted.rs | 2 | ||||
| -rw-r--r-- | tests/ui/process/println-with-broken-pipe.run.stderr | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/consts/precise-drop-with-promoted.rs b/tests/ui/consts/precise-drop-with-promoted.rs index 5da325afb72..0c0514dd9d5 100644 --- a/tests/ui/consts/precise-drop-with-promoted.rs +++ b/tests/ui/consts/precise-drop-with-promoted.rs @@ -3,7 +3,7 @@ // known-bug: #103507 // failure-status: 101 // normalize-stderr-test "note: .*\n\n" -> "" -// normalize-stderr-test "thread 'rustc' panicked.*\n" -> "" +// normalize-stderr-test "thread 'rustc' panicked.*\n.*\n" -> "" // normalize-stderr-test "(error: internal compiler error: [^:]+):\d+:\d+: " -> "$1:LL:CC: " // rustc-env:RUST_BACKTRACE=0 diff --git a/tests/ui/process/println-with-broken-pipe.run.stderr b/tests/ui/process/println-with-broken-pipe.run.stderr index ebcd920d501..a334c0ad204 100644 --- a/tests/ui/process/println-with-broken-pipe.run.stderr +++ b/tests/ui/process/println-with-broken-pipe.run.stderr @@ -1,2 +1,3 @@ -thread 'main' panicked at 'failed printing to stdout: Broken pipe (os error 32)', library/std/src/io/stdio.rs:LL:CC +thread 'main' panicked at library/std/src/io/stdio.rs:LL:CC: +failed printing to stdout: Broken pipe (os error 32) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
