Skip to content

Commit bf8c773

Browse files
committed
Update tests for macro syntax change.
1 parent e6af5ee commit bf8c773

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/test/run-pass/class-attributes-1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class cat {
44
#[cat_maker]
55
new(name: ~str) { self.name = name; }
66
#[cat_dropper]
7-
drop { error!{"%s landed on hir feet", self.name}; }
7+
drop { error! {"%s landed on hir feet",self.name }; }
88
let name: ~str;
99
}
1010

src/test/run-pass/macro-by-example-1.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// xfail-pretty - token trees can't pretty print
21

32
fn main() {
43
#macro[[#apply[f, [x, ...]], f(x, ...)]];

0 commit comments

Comments
 (0)