Skip to content

Commit 683e7a4

Browse files
committed
Change pretty-exact to pp-exact
1 parent fa69739 commit 683e7a4

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

src/test/pretty/alt-naked-expr-long.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-exact
11+
// pp-exact
1212

1313
// actually this doesn't quite look how I want it to, but I can't
1414
// get the prettyprinter to indent the long expr
@@ -18,8 +18,8 @@ fn main() {
1818
let y =
1919
match x {
2020
Some(_) =>
21-
~"some" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very" +
22-
~"very" + ~"very" + ~"very" + ~"long" + ~"string",
21+
~"some" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very"
22+
+ ~"very" + ~"very" + ~"long" + ~"string",
2323
None => ~"none"
2424
};
2525
assert y == ~"some(_)";

src/test/pretty/alt-naked-expr-medium.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-exact
11+
// pp-exact
1212

1313
fn main() {
1414
let x = Some(3);

src/test/pretty/alt-naked-expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-exact
11+
// pp-exact
1212

1313
fn main() {
1414
let x = Some(3);

src/test/pretty/do1.rs

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-exact
11+
// pp-exact
1212

13-
fn f(f: fn@(int)) { f(10) }
13+
fn f(f: @fn(int)) { f(10) }
1414

15-
fn main() {
16-
do f |i| { assert i == 10 }
17-
}
15+
fn main() { do f |i| { assert i == 10 } }

0 commit comments

Comments
 (0)