From 3513fe7ebdc3d19aa596f4bbc3d638ba7941ec93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Fri, 21 Feb 2020 14:42:22 +0100 Subject: [PATCH] readme: update testing section "cargo test" does nothing, so remove it. --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e3a88f5656b..acea9de1413 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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