Fix outdated test instructions in CONTRIBUTING.md

This commit is contained in:
David Tolnay 2021-06-12 13:38:23 -07:00
parent 9d81532e41
commit 7045fee260
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -34,22 +34,16 @@ tests for you.
cargo test --features derive cargo test --features derive
``` ```
##### In the [`test_suite/deps`] directory
```sh
# This is a prerequisite for running the full test suite
cargo clean && cargo update && cargo build
```
##### In the [`test_suite`] directory ##### In the [`test_suite`] directory
```sh ```sh
# Run the full test suite, including tests of unstable functionality # Run the full test suite, including tests of unstable functionality
cargo test --features unstable cargo +nightly test --features unstable
``` ```
Note that this test suite currently only supports running on a nightly compiler.
[`serde`]: https://github.com/serde-rs/serde/tree/master/serde [`serde`]: https://github.com/serde-rs/serde/tree/master/serde
[`test_suite/deps`]: https://github.com/serde-rs/serde/tree/master/test_suite/deps
[`test_suite`]: https://github.com/serde-rs/serde/tree/master/test_suite [`test_suite`]: https://github.com/serde-rs/serde/tree/master/test_suite
## Conduct ## Conduct