mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-27 13:00:49 +00:00
Fix instructions for testing contributions
Since separation of serde_core from serde, all doctests lives in serde_core project, which also does not have the `derive` feature. Following the old instructions does not run any tests.
This commit is contained in:
parent
1d7899d671
commit
55615e8f8e
@ -27,11 +27,11 @@ pull request with your changes. If anything does not pass, typically it will be
|
||||
easier to iterate and fix it locally than waiting for the CI servers to run
|
||||
tests for you.
|
||||
|
||||
##### In the [`serde`] directory
|
||||
##### In the [`serde_core`] directory
|
||||
|
||||
```sh
|
||||
# Test all the example code in Serde documentation
|
||||
cargo test --features derive
|
||||
cargo test
|
||||
```
|
||||
|
||||
##### In the [`test_suite`] directory
|
||||
@ -43,7 +43,7 @@ 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_core`]: https://github.com/serde-rs/serde/tree/master/serde_core
|
||||
[`test_suite`]: https://github.com/serde-rs/serde/tree/master/test_suite
|
||||
|
||||
## Conduct
|
||||
|
Loading…
x
Reference in New Issue
Block a user