Skip to content

Commit e825adf

Browse files
committed
Fix normalization of custom_ice_message test.
1 parent 5552f4a commit e825adf

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tests/ui-internal/custom_ice_message.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// rustc-env:RUST_BACKTRACE=0
22
// normalize-stderr-test: "Clippy version: .*" -> "Clippy version: foo"
3-
// normalize-stderr-test: "internal_lints.rs:\d*:\d*" -> "internal_lints.rs"
3+
// normalize-stderr-test: "produce_ice.rs:\d*:\d*" -> "produce_ice.rs"
44
// normalize-stderr-test: "', .*clippy_lints" -> "', clippy_lints"
55
// normalize-stderr-test: "'rustc'" -> "'<unnamed>'"
6+
// normalize-stderr-test: "(?ms)query stack during panic:\n.*end of query stack\n" -> ""
67

78
#![deny(clippy::internal)]
89
#![allow(clippy::missing_clippy_version_attribute)]
+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
thread '<unnamed>' panicked at 'Would you like some help with that?', clippy_lints/src/utils/internal_lints/produce_ice.rs:28:9
1+
thread '<unnamed>' panicked at 'Would you like some help with that?', clippy_lints/src/utils/internal_lints/produce_ice.rs
22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
33

44
error: internal compiler error: unexpected panic
@@ -9,5 +9,3 @@ note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy
99

1010
note: Clippy version: foo
1111

12-
query stack during panic:
13-
end of query stack

0 commit comments

Comments
 (0)