diff --git a/src/test/pretty/block-comment-wchar.pp b/src/test/pretty/block-comment-wchar.pp index 805aca129e9..d727f45e316 100644 --- a/src/test/pretty/block-comment-wchar.pp +++ b/src/test/pretty/block-comment-wchar.pp @@ -110,6 +110,6 @@ fn main() { '\u2028', '\u2029', '\u202F', '\u205F', '\u3000']; for c in chars.iter() { let ws = c.is_whitespace(); - println(fmt!("%? %?" , c , ws)); + println!("{:?} {:?}" , c , ws); } } diff --git a/src/test/pretty/block-comment-wchar.rs b/src/test/pretty/block-comment-wchar.rs index f09a7c1428c..abe4546d69f 100644 --- a/src/test/pretty/block-comment-wchar.rs +++ b/src/test/pretty/block-comment-wchar.rs @@ -104,6 +104,6 @@ fn main() { '\u2028', '\u2029', '\u202F', '\u205F', '\u3000']; for c in chars.iter() { let ws = c.is_whitespace(); - println(fmt!("%? %?", c , ws)); + println!("{:?} {:?}", c , ws); } } diff --git a/src/test/pretty/issue-929.rs b/src/test/pretty/issue-929.rs index 636fac82b6b..a82a8ec41c7 100644 --- a/src/test/pretty/issue-929.rs +++ b/src/test/pretty/issue-929.rs @@ -8,6 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -fn f() { if (1 == fail!()) { } else { } } +fn f() { if (1 == fail2!()) { } else { } } fn main() { }