From 4a8c6f025366a0e21c83eeae54c1874126c32edf Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Tue, 4 Jun 2024 12:10:02 +0200 Subject: [PATCH] . --- tests/integration_test.rs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/integration_test.rs b/tests/integration_test.rs index d178b49..f887be7 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -148,17 +148,16 @@ async fn test_compatibility( } else { vec!["create", "-y", "-p", prefix_str, "-f", "environment.yml"] }; - let tool_exe = if cfg!(windows) { - format!("{}.exe", tool) - } else { - tool.to_string() - }; - let output = Command::new(tool_exe) + let output = Command::new(tool) .args(args) .current_dir(unpack_dir) .output() .expect("Failed to run create command"); - assert!(output.status.success(), "Failed to create environment: {:?}", output); + assert!( + output.status.success(), + "Failed to create environment: {:?}", + output + ); required_fs_objects .iter()