about summary refs log tree commit diff
path: root/src/libextra
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-08-29 22:58:27 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-08-29 22:58:27 +1000
commit4fea236a85b61b52fc3e16348886ff32f5b8210b (patch)
tree5eda9806fc616885c116eae7e2553e806b2047e3 /src/libextra
parente835c6b042b88720d5fd0d606d25e0ea4fa27b1a (diff)
downloadrust-4fea236a85b61b52fc3e16348886ff32f5b8210b.tar.gz
rust-4fea236a85b61b52fc3e16348886ff32f5b8210b.zip
extra: error message should reflact that RUST_TEST_TASKS should be strictly positive (zero is illegal).
Diffstat (limited to 'src/libextra')
-rw-r--r--src/libextra/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/test.rs b/src/libextra/test.rs
index 82b62c7dfc0..73f6d2e1bda 100644
--- a/src/libextra/test.rs
+++ b/src/libextra/test.rs
@@ -745,7 +745,7 @@ fn get_concurrency() -> uint {
             let opt_n: Option<uint> = FromStr::from_str(s);
             match opt_n {
                 Some(n) if n > 0 => n,
-                _ => fail!("RUST_TEST_TASKS is `%s`, should be a non-negative integer.", s)
+                _ => fail!("RUST_TEST_TASKS is `%s`, should be a positive integer.", s)
             }
         }
         None => {