File: fix-test

package info (click to toggle)
rust-always-assert 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 120 kB
  • sloc: makefile: 4
file content (13 lines) | stat: -rw-r--r-- 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: always-assert/tests/it.rs
===================================================================
--- always-assert.orig/tests/it.rs
+++ always-assert/tests/it.rs
@@ -21,7 +21,7 @@ mod armed {
     }
 
     #[test]
-    #[should_panic = "assertion failed: !(2 + 2 == 4)"]
+    #[should_panic = "assertion failed: ! 2 + 2 == 4"]
     fn syntax4() {
         let _: bool = never!(2 + 2 == 4);
     }