Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Jun 4, 2024
1 parent e9e7089 commit 4a8c6f0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4a8c6f0

Please sign in to comment.