diff options
author | Andrew Gallant <jamslam@gmail.com> | 2018-07-22 11:08:16 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-07-22 11:08:16 -0400 |
commit | 0d11497d2133f1973321ae383e139a9f1a71500f (patch) | |
tree | 774a2438c2a37ba9bb67e87994421132bfb9fc1c /tests | |
parent | 22ac2e056e1826957dddfaac6e45dadc4414bbe1 (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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.rs | 2 |
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", |