From 1429949f9f477e9e11ad9e3160a606aeb4ec3567 Mon Sep 17 00:00:00 2001 From: Jason Newcomb Date: Fri, 19 Nov 2021 19:43:31 -0500 Subject: [PATCH] Don't check for a nightly toolchain in fmt test --- tests/fmt.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/fmt.rs b/tests/fmt.rs index be42f1fbb20..383702dd439 100644 --- a/tests/fmt.rs +++ b/tests/fmt.rs @@ -11,10 +11,7 @@ fn fmt() { } // Skip this test if nightly rustfmt is unavailable - let rustup_output = Command::new("rustup") - .args(&["component", "list", "--toolchain", "nightly"]) - .output() - .unwrap(); + let rustup_output = Command::new("rustup").args(&["component", "list"]).output().unwrap(); assert!(rustup_output.status.success()); let component_output = String::from_utf8_lossy(&rustup_output.stdout); if !component_output.contains("rustfmt") {