Fix cosmetics for fail!() calls

This commit is contained in:
Marvin Löbel 2013-05-09 13:52:07 +02:00 committed by Björn Steinbrink
parent bdc182cc41
commit 04de8f852c
21 changed files with 47 additions and 63 deletions

View file

@ -1,4 +1,4 @@
// error-pattern:left: 14 != right: 15
// error-pattern:left: 14 does not equal right: 15
#[deriving(Eq)]
struct Point { x : int }

View file

@ -10,5 +10,5 @@
// error-pattern:giraffe
fn main() {
fail!({ while true { fail!(~"giraffe")}; "clandestine" });
fail!({ while true { fail!("giraffe") }; "clandestine" });
}

View file

@ -58,7 +58,7 @@ macro_rules! check_fancy {
match t_.get_ref() {
(23, $v) => { $chk }
_ => fail!("Thing::<%s>(23, %s).get_ref() != (23, _)",
stringify!($T), stringify!($e))
stringify!($T), stringify!($e))
}
}}
}