Skip to content

Commit 827fd50

Browse files
committed
Auto merge of rust-lang#8000 - Jarcho:nightly_fmt, r=llogiq
Don't check for a nightly toolchain in fmt test changelog: None
2 parents 38bd251 + 1429949 commit 827fd50

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/fmt.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ fn fmt() {
1111
}
1212

1313
// Skip this test if nightly rustfmt is unavailable
14-
let rustup_output = Command::new("rustup")
15-
.args(&["component", "list", "--toolchain", "nightly"])
16-
.output()
17-
.unwrap();
14+
let rustup_output = Command::new("rustup").args(&["component", "list"]).output().unwrap();
1815
assert!(rustup_output.status.success());
1916
let component_output = String::from_utf8_lossy(&rustup_output.stdout);
2017
if !component_output.contains("rustfmt") {

0 commit comments

Comments
 (0)