Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
tests
/
ui
/
macros
/
assert-eq-macro-msg.rs
blob: 3d921f40072579bb3f750af681df77b6a63ef7bd [
file
] [
log
] [
blame
]
// 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"
);
}