Skip to content

Commit a16bc36

Browse files
committed
fix formatting
1 parent 807381b commit a16bc36

File tree

2 files changed

+11
-3
lines changed
  • src

2 files changed

+11
-3
lines changed

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,6 @@ default_test!(Ui { path: "tests/ui", mode: "ui", suite: "ui" });
13761376

13771377
default_test!(Crashes { path: "tests/crashes", mode: "crashes", suite: "crashes" });
13781378

1379-
13801379
default_test!(RunPassValgrind {
13811380
path: "tests/run-pass-valgrind",
13821381
mode: "run-pass-valgrind",

src/tools/compiletest/src/lib.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,12 @@ pub fn parse_config(args: Vec<String>) -> Config {
8383
.optopt("", "run", "whether to execute run-* tests", "auto | always | never")
8484
.optflag("", "ignored", "run tests marked as ignored")
8585
.optflag("", "with-debug-assertions", "whether to run tests with `ignore-debug` header")
86-
.optmulti("", "skip", "skip tests matching SUBSTRING. Can be passed multiple times", "SUBSTRING")
86+
.optmulti(
87+
"",
88+
"skip",
89+
"skip tests matching SUBSTRING. Can be passed multiple times",
90+
"SUBSTRING",
91+
)
8792
.optflag("", "exact", "filters match exactly")
8893
.optopt(
8994
"",
@@ -146,7 +151,11 @@ pub fn parse_config(args: Vec<String>) -> Config {
146151
.optflag("", "profiler-support", "is the profiler runtime enabled for this target")
147152
.optflag("h", "help", "show this message")
148153
.reqopt("", "channel", "current Rust channel", "CHANNEL")
149-
.optflag("", "git-hash", "run tests which rely on commit version being compiled into the binaries")
154+
.optflag(
155+
"",
156+
"git-hash",
157+
"run tests which rely on commit version being compiled into the binaries",
158+
)
150159
.optopt("", "edition", "default Rust edition", "EDITION")
151160
.reqopt("", "git-repository", "name of the git repository", "ORG/REPO")
152161
.reqopt("", "nightly-branch", "name of the git branch for nightly", "BRANCH");

0 commit comments

Comments
 (0)