Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Oct 13, 2024
1 parent cdab1fb commit 2660061
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cargo-insta/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -647,10 +647,8 @@ fn process_snapshots(
fn test_run(mut cmd: TestCommand, color: ColorWhen) -> Result<(), Box<dyn Error>> {
let loc = handle_target_args(&cmd.target_args, &cmd.test_runner_options.package)?;

// Based on any configs in the config file, update the test command.
// (Arguably slightly delicate code to ensure we're giving the correct
// relative prioritization to CLI vs. config file. We could do this in a
// single location to make it clearer...)
// Based on any configs in the config file, update the test command. Default
// is `SnapshotUpdate::Auto`.
match loc.tool_config.snapshot_update() {
SnapshotUpdate::Auto => {
if is_ci() {
Expand Down

0 comments on commit 2660061

Please sign in to comment.