Created
March 1, 2018 02:50
-
-
Save cbzehner/5a7dede3a62048457aabebefc4bc007a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cbzehner at MacBook-Pro-4 ~/Projects/pull-requests/rust/exercises/nth-prime [SUCCESS] | |
$cargo test | |
Compiling nth_prime v1.0.0 (file:///Users/cbzehner/Projects/pull-requests/rust/exercises/nth-prime) | |
Finished dev [unoptimized + debuginfo] target(s) in 0.81 secs | |
Running target/debug/deps/nth_prime-94d2e6fce3eb8601 | |
running 0 tests | |
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out | |
Running target/debug/deps/nth_prime-6191cbff64a5b1f2 | |
running 5 tests | |
test test_big_prime ... ignored | |
test test_second_prime ... ignored | |
test test_sixth_prime ... ignored | |
test test_first_prime ... ok | |
test test_zeroth_prime ... FAILED | |
failures: | |
---- test_zeroth_prime stdout ---- | |
thread 'test_zeroth_prime' panicked at 'assertion failed: np::nth(0).is_none()', tests/nth-prime.rs:28:5 | |
note: Run with `RUST_BACKTRACE=1` for a backtrace. | |
failures: | |
test_zeroth_prime | |
test result: FAILED. 1 passed; 1 failed; 3 ignored; 0 measured; 0 filtered out | |
error: test failed, to rerun pass '--test nth-prime' | |
cbzehner at MacBook-Pro-4 ~/Projects/pull-requests/rust/exercises/nth-prime [SUCCESS] | |
$cargo test | |
Compiling nth_prime v1.0.0 (file:///Users/cbzehner/Projects/pull-requests/rust/exercises/nth-prime) | |
Finished dev [unoptimized + debuginfo] target(s) in 0.46 secs | |
Running target/debug/deps/nth_prime-94d2e6fce3eb8601 | |
running 0 tests | |
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out | |
Running target/debug/deps/nth_prime-6191cbff64a5b1f2 | |
running 5 tests | |
test test_big_prime ... ignored | |
test test_second_prime ... ignored | |
test test_sixth_prime ... ignored | |
test test_first_prime ... ok | |
test test_zeroth_prime ... FAILED | |
failures: | |
---- test_zeroth_prime stdout ---- | |
thread 'test_zeroth_prime' panicked at 'assertion failed: `(left == right)` | |
left: `Some(1)`, | |
right: `None`', tests/nth-prime.rs:28:5 | |
note: Run with `RUST_BACKTRACE=1` for a backtrace. | |
failures: | |
test_zeroth_prime | |
test result: FAILED. 1 passed; 1 failed; 3 ignored; 0 measured; 0 filtered out | |
error: test failed, to rerun pass '--test nth-prime' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment