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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/task-comm-14.rs b/src/test/run-pass/task-comm-14.rs
index 053499ee5ed..4f0eb7c101f 100644
--- a/src/test/run-pass/task-comm-14.rs
+++ b/src/test/run-pass/task-comm-14.rs
@@ -16,7 +16,7 @@ pub fn main() {
     // Spawn 10 tasks each sending us back one int.
     let mut i = 10;
     while (i > 0) {
-        log(debug, i);
+        debug!(i);
         let (p, ch) = comm::stream();
         po.add(p);
         task::spawn({let i = i; || child(i, &ch)});
@@ -28,7 +28,7 @@ pub fn main() {
 
     i = 10;
     while (i > 0) {
-        log(debug, i);
+        debug!(i);
         po.recv();
         i = i - 1;
     }
@@ -37,6 +37,6 @@ pub fn main() {
 }
 
 fn child(x: int, ch: &comm::Chan<int>) {
-    log(debug, x);
+    debug!(x);
     ch.send(x);
 }