diff options
Diffstat (limited to 'src/test/ui/macros/assert-ne-macro-panic.rs')
-rw-r--r-- | src/test/ui/macros/assert-ne-macro-panic.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/macros/assert-ne-macro-panic.rs b/src/test/ui/macros/assert-ne-macro-panic.rs new file mode 100644 index 000000000..4f507d7b5 --- /dev/null +++ b/src/test/ui/macros/assert-ne-macro-panic.rs @@ -0,0 +1,9 @@ +// run-fail +// error-pattern:assertion failed: `(left != right)` +// error-pattern: left: `14` +// error-pattern:right: `14` +// ignore-emscripten no processes + +fn main() { + assert_ne!(14, 14); +} |