2021-03-13 05:14:57 -06:00
|
|
|
// run-fail
|
2023-06-20 12:16:18 -05:00
|
|
|
// error-pattern:assertion failed: `(left != right)`
|
2021-03-13 05:14:57 -06:00
|
|
|
// error-pattern: left: `2`
|
2023-06-20 12:16:18 -05:00
|
|
|
// error-pattern:right: `2`: 1 + 1 definitely should not be 2
|
2021-03-13 05:14:57 -06:00
|
|
|
// ignore-emscripten no processes
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
assert_ne!(1 + 1, 2, "1 + 1 definitely should not be 2");
|
|
|
|
}
|