mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-12 19:18:24 +02:00
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
This commit is contained in:
parent
22ac2e056e
commit
0d11497d21
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user