We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38bd251 + 1429949 commit 827fd50Copy full SHA for 827fd50
tests/fmt.rs
@@ -11,10 +11,7 @@ fn fmt() {
11
}
12
13
// 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();
+ let rustup_output = Command::new("rustup").args(&["component", "list"]).output().unwrap();
18
assert!(rustup_output.status.success());
19
let component_output = String::from_utf8_lossy(&rustup_output.stdout);
20
if !component_output.contains("rustfmt") {
0 commit comments