about summary refs log tree commit diff
path: root/tests/ui/numbers-arithmetic/overflowing-neg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/numbers-arithmetic/overflowing-neg.rs')
-rw-r--r--tests/ui/numbers-arithmetic/overflowing-neg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/numbers-arithmetic/overflowing-neg.rs b/tests/ui/numbers-arithmetic/overflowing-neg.rs
index df119805303..53024375393 100644
--- a/tests/ui/numbers-arithmetic/overflowing-neg.rs
+++ b/tests/ui/numbers-arithmetic/overflowing-neg.rs
@@ -1,5 +1,5 @@
 // run-fail
-// error-pattern:thread 'main' panicked at 'attempt to negate with overflow'
+// error-pattern:attempt to negate with overflow
 // ignore-emscripten no processes
 // compile-flags: -C debug-assertions