rust/tests/ui/macros/assert-eq-macro-panic.rs
2024-02-16 20:02:50 +00:00

10 lines
196 B
Rust

//@ run-fail
//@ error-pattern:assertion `left == right` failed
//@ error-pattern: left: 14
//@ error-pattern: right: 15
//@ ignore-emscripten no processes
fn main() {
assert_eq!(14, 15);
}