mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-07-11 14:30: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:
@ -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",
|
||||
|
Reference in New Issue
Block a user