From 683e7a45a6cca2ae31271ff2b10dd09ca8647130 Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Fri, 8 Feb 2013 02:56:49 +0900 Subject: [PATCH] Change pretty-exact to pp-exact --- src/test/pretty/alt-naked-expr-long.rs | 6 +++--- src/test/pretty/alt-naked-expr-medium.rs | 2 +- src/test/pretty/alt-naked-expr.rs | 2 +- src/test/pretty/do1.rs | 8 +++----- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/test/pretty/alt-naked-expr-long.rs b/src/test/pretty/alt-naked-expr-long.rs index 29398ce25339a..a0ade868afd0b 100644 --- a/src/test/pretty/alt-naked-expr-long.rs +++ b/src/test/pretty/alt-naked-expr-long.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// pretty-exact +// pp-exact // actually this doesn't quite look how I want it to, but I can't // get the prettyprinter to indent the long expr @@ -18,8 +18,8 @@ fn main() { let y = match x { Some(_) => - ~"some" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very" + - ~"very" + ~"very" + ~"very" + ~"long" + ~"string", + ~"some" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very" + + ~"very" + ~"very" + ~"long" + ~"string", None => ~"none" }; assert y == ~"some(_)"; diff --git a/src/test/pretty/alt-naked-expr-medium.rs b/src/test/pretty/alt-naked-expr-medium.rs index 5fa66f1e51b22..6c6398c3e52c2 100644 --- a/src/test/pretty/alt-naked-expr-medium.rs +++ b/src/test/pretty/alt-naked-expr-medium.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// pretty-exact +// pp-exact fn main() { let x = Some(3); diff --git a/src/test/pretty/alt-naked-expr.rs b/src/test/pretty/alt-naked-expr.rs index ac3884f8ee02b..0ef5c8d16b0f6 100644 --- a/src/test/pretty/alt-naked-expr.rs +++ b/src/test/pretty/alt-naked-expr.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// pretty-exact +// pp-exact fn main() { let x = Some(3); diff --git a/src/test/pretty/do1.rs b/src/test/pretty/do1.rs index fc90b2b4e9288..a9608f2beecf3 100644 --- a/src/test/pretty/do1.rs +++ b/src/test/pretty/do1.rs @@ -8,10 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// pretty-exact +// pp-exact -fn f(f: fn@(int)) { f(10) } +fn f(f: @fn(int)) { f(10) } -fn main() { - do f |i| { assert i == 10 } -} +fn main() { do f |i| { assert i == 10 } }