mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
10 lines
258 B
Rust
10 lines
258 B
Rust
//@ run-fail
|
|
//@ error-pattern:assertion `left == right` failed: 1 + 1 definitely should be 3
|
|
//@ error-pattern: left: 2
|
|
//@ error-pattern: right: 3
|
|
//@ ignore-emscripten no processes
|
|
|
|
fn main() {
|
|
assert_eq!(1 + 1, 3, "1 + 1 definitely should be 3");
|
|
}
|