We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e835c6b commit 4fea236Copy full SHA for 4fea236
src/libextra/test.rs
@@ -745,7 +745,7 @@ fn get_concurrency() -> uint {
745
let opt_n: Option<uint> = FromStr::from_str(s);
746
match opt_n {
747
Some(n) if n > 0 => n,
748
- _ => 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)
749
}
750
751
None => {
src/test/run-fail/test-threads-invalid-value.rs renamed to src/test/run-fail/test-tasks-invalid-value.rs
@@ -11,7 +11,7 @@
11
// This checks that RUST_TEST_TASKS not being 1, 2, ... is detected
12
// properly.
13
14
-// error-pattern:should be a non-negative integer
+// error-pattern:should be a positive integer
15
// compile-flags: --test
16
// exec-env:RUST_TEST_TASKS=foo
17
0 commit comments