rust/src/test/run-fail/assert-eq-macro-fail.rs
Corey Richardson 26f0a55f76 fix test
2013-07-10 13:14:31 -04:00

9 lines
178 B
Rust

// error-pattern:assertion failed: `(left == right) && (right == left)` (left: `14`, right: `15`)
#[deriving(Eq)]
struct Point { x : int }
fn main() {
assert_eq!(14,15);
}