about summary refs log tree commit diff
path: root/src/test/run-pass/basic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/basic.rs')
-rw-r--r--src/test/run-pass/basic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/basic.rs b/src/test/run-pass/basic.rs
index d4c92e33a1f..381ebba1128 100644
--- a/src/test/run-pass/basic.rs
+++ b/src/test/run-pass/basic.rs
@@ -26,8 +26,8 @@ fn main() {
     let n: int = 2 + 3 * 7;
     let s: str = "hello there";
     let p = comm::port();
-    task::spawn2(chan(p), a);
-    task::spawn2(chan(p), b);
+    task::spawn(chan(p), a);
+    task::spawn(chan(p), b);
     let x: int = 10;
     x = g(n, s);
     log x;