Skip to content

Commit

Permalink
readme: update testing section (#4060)
Browse files Browse the repository at this point in the history
"cargo test" does nothing, so remove it.
  • Loading branch information
matthiaskrgr authored Feb 21, 2020
1 parent bc294a7 commit 9124dd8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ for more info.
`cargo build` to build.

`cargo test && cargo test --manifest-path rustfmt-core/Cargo.toml` to run all tests.
`cargo test --manifest-path rustfmt-core/Cargo.toml` to run all tests.

To run rustfmt after this, use `cargo run --bin rustfmt -- filename`. See the
notes above on running rustfmt.
Expand Down Expand Up @@ -214,13 +214,13 @@ needs to be specified in `rustfmt.toml`, e.g., with `edition = "2018"`.

Options:

| Flag |Description| Nightly Only |
|:---:|:---:|:---:|
| files | overwrites output to files | No |
| stdout | writes output to stdout | No |
| coverage | displays how much of the input file was processed | Yes |
| checkstyle | emits in a checkstyle format | Yes |
| json | emits diffs in a json format | Yes |
| Flag | Description | Nightly Only |
| :--------: | :-----------------------------------------------: | :----------: |
| files | overwrites output to files | No |
| stdout | writes output to stdout | No |
| coverage | displays how much of the input file was processed | Yes |
| checkstyle | emits in a checkstyle format | Yes |
| json | emits diffs in a json format | Yes |

## License

Expand Down

0 comments on commit 9124dd8

Please sign in to comment.