fix: remove duplicate digest argument and adjust imports

This commit is contained in:
Andrew Phillips
2025-05-12 22:11:56 -03:00
committed by Andrew Phillips (aider)
parent 4c2df3d743
commit 9ba3a31e95
5 changed files with 6 additions and 41 deletions

View File

@@ -57,37 +57,6 @@ mod tests {
cmd,
output.status
);
// Test with digest option
let cmd = format!("echo {} | {} --digest sha256 -c none none", INPUT_A, env);
println!("RUNNING: {}", cmd);
let output = run_sh(cmd.as_str());
assert!(
output.status.success(),
"Command failed: {} {}",
cmd,
output.status
);
let cmd = format!("echo {} | {} --digest md5 -c none none", INPUT_A, env);
println!("RUNNING: {}", cmd);
let output = run_sh(cmd.as_str());
assert!(
output.status.success(),
"Command failed: {} {}",
cmd,
output.status
);
let cmd = format!("echo {} | {} --digest program -p md5sum -c none none", INPUT_A, env);
println!("RUNNING: {}", cmd);
let output = run_sh(cmd.as_str());
assert!(
output.status.success(),
"Command failed: {} {}",
cmd,
output.status
);
}
// Helper function to check if a file exists in the data directory