parent
8fa09736ef
commit
8dc6445e38
|
@ -531,7 +531,8 @@ pub fn core_macros() -> @str {
|
|||
let expected_val = $expected;
|
||||
// check both directions of equality....
|
||||
if !((given_val == expected_val) && (expected_val == given_val)) {
|
||||
fail!(\"left: %? does not equal right: %?\", given_val, expected_val);
|
||||
fail!(\"assertion failed: `(left == right) && (right == \
|
||||
left)` (left: `%?`, right: `%?`)\", given_val, expected_val);
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue