From c46e78b0675fd71e5500b5373cec13ead34cb132 Mon Sep 17 00:00:00 2001 From: "Andrew Phillips (aider)" Date: Mon, 12 May 2025 16:05:02 -0300 Subject: [PATCH] test: Improve error messages in test_compression --- src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests.rs b/src/tests.rs index dcfe5c3..d2dc034 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -340,12 +340,12 @@ mod tests { // Test with gzip compression let cmd = format!("echo {} | {} -c gzip --tag gzip", INPUT_A, env); let output = run_sh(cmd.as_str()); - assert!(output.status.success(), "Command failed: {}", INPUT_A); + assert!(output.status.success(), "Command failed: {} {}", cmd, output.status); // Test with bzip2 compression let cmd = format!("echo {} | {} -c bzip2 --tag bzip2", INPUT_A, env); let output = run_sh(cmd.as_str()); - assert!(output.status.success(), "Command failed: {}", INPUT_A); + assert!(output.status.success(), "Command failed: {} {}", cmd, output.status); // Verify all items were created let cmd = format!("{} --list", env);