about summary refs log tree commit diff
path: root/src/test/run-pass/class-implement-traits.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/class-implement-traits.rs')
-rw-r--r--src/test/run-pass/class-implement-traits.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/class-implement-traits.rs b/src/test/run-pass/class-implement-traits.rs
index f6cc934eb86..4eead77e805 100644
--- a/src/test/run-pass/class-implement-traits.rs
+++ b/src/test/run-pass/class-implement-traits.rs
@@ -6,7 +6,7 @@ struct cat : noisy {
   priv {
     let mut meows : uint;
     fn meow() {
-      error!{"Meow"};
+      error!("Meow");
       self.meows += 1u;
       if self.meows % 5u == 0u {
           self.how_hungry += 1;
@@ -24,12 +24,12 @@ struct cat : noisy {
 
   fn eat() -> bool {
     if self.how_hungry > 0 {
-        error!{"OM NOM NOM"};
+        error!("OM NOM NOM");
         self.how_hungry -= 2;
         return true;
     }
     else {
-        error!{"Not hungry!"};
+        error!("Not hungry!");
         return false;
     }
   }