You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running 1 test
test A::test ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Running target/debug/deps/test_cargo-81aed86b67506427
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Doc-tests test-cargo
running 1 test
test src/lib.rs - (line 3) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
``
As you can see the first doc test is ran, the test in `A` also runs but the doc tests in `A` doesn't run
**Notes**
Output of `cargo version`:
`cargo 1.34.0 (6789d8a0a 2019-04-01)`
`rustc 1.34.1 (fc50f328b 2019-04-24)`
The text was updated successfully, but these errors were encountered:
Sure, no problem. The C-bug label is added by GitHub automatically based on which template you pick. I'll close this for now since it seems to be fixed.
Problem
Running
cargo test
doesn't do doc testing for documentation under#[cfg(test)]
Steps
Output from
cargo test
:The text was updated successfully, but these errors were encountered: