about summary refs log tree commit diff
path: root/src/test/run-pass/task-comm-14.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/task-comm-14.rs')
-rw-r--r--src/test/run-pass/task-comm-14.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/run-pass/task-comm-14.rs b/src/test/run-pass/task-comm-14.rs
index a04e3525d34..cacaea5e8c0 100644
--- a/src/test/run-pass/task-comm-14.rs
+++ b/src/test/run-pass/task-comm-14.rs
@@ -20,7 +20,7 @@ pub fn main() {
     // Spawn 10 tasks each sending us back one int.
     let mut i = 10;
     while (i > 0) {
-        info!(i);
+        info2!("{}", i);
         let ch = ch.clone();
         task::spawn({let i = i; || child(i, &ch)});
         i = i - 1;
@@ -31,15 +31,15 @@ pub fn main() {
 
     i = 10;
     while (i > 0) {
-        info!(i);
+        info2!("{}", i);
         po.recv();
         i = i - 1;
     }
 
-    info!("main thread exiting");
+    info2!("main thread exiting");
 }
 
 fn child(x: int, ch: &comm::SharedChan<int>) {
-    info!(x);
+    info2!("{}", x);
     ch.send(x);
 }