Skip to content

Commit 4a8c6f0

Browse files
committed
.
1 parent e9e7089 commit 4a8c6f0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tests/integration_test.rs

+6-7
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,16 @@ async fn test_compatibility(
148148
} else {
149149
vec!["create", "-y", "-p", prefix_str, "-f", "environment.yml"]
150150
};
151-
let tool_exe = if cfg!(windows) {
152-
format!("{}.exe", tool)
153-
} else {
154-
tool.to_string()
155-
};
156-
let output = Command::new(tool_exe)
151+
let output = Command::new(tool)
157152
.args(args)
158153
.current_dir(unpack_dir)
159154
.output()
160155
.expect("Failed to run create command");
161-
assert!(output.status.success(), "Failed to create environment: {:?}", output);
156+
assert!(
157+
output.status.success(),
158+
"Failed to create environment: {:?}",
159+
output
160+
);
162161

163162
required_fs_objects
164163
.iter()

0 commit comments

Comments
 (0)