blob: 24bc4dbea475306db007c85bfd4fba37fadbdb45 (
plain)
1
2
3
4
5
6
7
8
9
|
//@ run-fail
//@ error-pattern:assertion `left != right` failed: 1 + 1 definitely should not be 2
//@ error-pattern: left: 2
//@ error-pattern: right: 2
//@ needs-subprocess
fn main() {
assert_ne!(1 + 1, 2, "1 + 1 definitely should not be 2");
}
|