Fix tests without default features
This commit is contained in:
parent
d2cebc3c2d
commit
f8bb4fa637
1 changed files with 2 additions and 0 deletions
|
|
@ -494,6 +494,7 @@ fn fix_errors() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(feature = "zopfli")]
|
||||
fn zopfli_mode() {
|
||||
let input = PathBuf::from("tests/files/zopfli_mode.png");
|
||||
let (output, mut opts) = get_opts(&input);
|
||||
|
|
@ -511,6 +512,7 @@ fn zopfli_mode() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(feature = "libdeflater")]
|
||||
fn libdeflater_mode() {
|
||||
let input = PathBuf::from("tests/files/zopfli_mode.png");
|
||||
let (output, mut opts) = get_opts(&input);
|
||||
|
|
|
|||
Loading…
Reference in a new issue