We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38bd251 commit 1429949Copy full SHA for 1429949
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