- // Skip this test if rustup nightly is unavailable
- let rustup_output = Command::new("rustup")
- .args(&["component", "list", "--toolchain", "nightly"])
- .output()
- .unwrap();
+ // Skip this test if nightly rustfmt is unavailable
+ let rustup_output = Command::new("rustup").args(&["component", "list"]).output().unwrap();