Update tests for macro syntax change.

This commit is contained in:
Paul Stansifer 2012-07-30 18:03:50 -07:00
parent e6af5eeaa2
commit bf8c773936
2 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@ class cat {
#[cat_maker]
new(name: ~str) { self.name = name; }
#[cat_dropper]
drop { error!{"%s landed on hir feet", self.name}; }
drop { error! {"%s landed on hir feet",self.name }; }
let name: ~str;
}

View File

@ -1,4 +1,3 @@
// xfail-pretty - token trees can't pretty print
fn main() {
#macro[[#apply[f, [x, ...]], f(x, ...)]];