summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-07-22 11:08:16 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-07-22 11:08:16 -0400
commit0d11497d2133f1973321ae383e139a9f1a71500f (patch)
tree774a2438c2a37ba9bb67e87994421132bfb9fc1c
parent22ac2e056e1826957dddfaac6e45dadc4414bbe1 (diff)
tests: be looser with gzip failure
Don't expect the exact error message. Instead, just ask that the error message exist and be non-empty. Fixes #903
-rw-r--r--tests/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index 9b6154d2..8a38f545 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -1869,7 +1869,7 @@ fn compressed_failing_gzip() {
let output = cmd.output().unwrap();
let err = String::from_utf8_lossy(&output.stderr);
- assert_eq!(err.contains("not in gzip format"), true);
+ assert!(!err.is_empty());
}
sherlock!(feature_196_persistent_config, "sherlock",