Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Jan 4, 2024
1 parent d82009b commit b633093
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/package_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ async fn run_python_test(
create_environment(
&dependencies,
&platform,
&prefix,
prefix,
&config.channels,
&config.tool_configuration,
)
Expand All @@ -416,7 +416,7 @@ async fn run_python_test(
)?;

if test.pip_check {
run_in_environment(default_shell, format!("pip check"), path, prefix)
run_in_environment(default_shell, "pip check".into(), path, prefix)
} else {
Ok(())
}
Expand Down Expand Up @@ -470,7 +470,7 @@ async fn run_shell_test(
path.join("run_test.sh")
};

let contents = fs::read_to_string(&test_file_path)?;
let contents = fs::read_to_string(test_file_path)?;

tracing::info!("Testing commands:");
run_in_environment(default_shell, contents, path, prefix)?;
Expand Down

0 comments on commit b633093

Please sign in to comment.