diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-12-22 17:53:53 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-12-22 17:53:53 -0800 |
| commit | f0dfbe7b1b8d630488441982cf3d46f82a3a89db (patch) | |
| tree | 8e26605c3d3628cd336e566b8ec7391c058c3a1a /src/test/stdtest/task.rs | |
| parent | ccb5b6fb259d5de9be751175fc53df1eaea4cd2c (diff) | |
| download | rust-f0dfbe7b1b8d630488441982cf3d46f82a3a89db.tar.gz rust-f0dfbe7b1b8d630488441982cf3d46f82a3a89db.zip | |
Register new snapshots, purge log_err and log_full in favour of log(...).
Diffstat (limited to 'src/test/stdtest/task.rs')
| -rw-r--r-- | src/test/stdtest/task.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/stdtest/task.rs b/src/test/stdtest/task.rs index 1059f9084e3..31299e703be 100644 --- a/src/test/stdtest/task.rs +++ b/src/test/stdtest/task.rs @@ -35,7 +35,7 @@ fn test_join_chan() { task::spawn_notify((), winner, comm::chan(p)); let s = comm::recv(p); #error("received task status message"); - log_full(core::error, s); + log(error, s); alt s { task::exit(_, task::tr_success.) {/* yay! */ } _ { fail "invalid task status received" } @@ -52,7 +52,7 @@ fn test_join_chan_fail() { task::spawn_notify((), failer, comm::chan(p)); let s = comm::recv(p); #error("received task status message"); - log_full(core::error, s); + log(error, s); alt s { task::exit(_, task::tr_failure.) {/* yay! */ } _ { fail "invalid task status received" } @@ -70,7 +70,7 @@ fn test_join_convenient() { #[ignore] fn spawn_polymorphic() { // FIXME #1038: Can't spawn palymorphic functions - /*fn foo<send T>(x: T) { log_full(core::error, x); } + /*fn foo<send T>(x: T) { log(error, x); } task::spawn(true, foo); task::spawn(42, foo);*/ |
