test: Suppress needless_update for unit tests
This commit is contained in:
parent
e555f8c770
commit
30bbd0f7c8
1 changed files with 2 additions and 0 deletions
|
@ -1926,6 +1926,8 @@ const EXTRA_FIELD_MAPPING: [u16; 48] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
#[allow(unknown_lints)] // needless_update is new in clippy pre 1.29.0
|
||||||
|
#[allow(needless_update)] // So we can use the same FileOptions defs with and without zopfli_buffer_size
|
||||||
mod test {
|
mod test {
|
||||||
use super::{FileOptions, ZipWriter};
|
use super::{FileOptions, ZipWriter};
|
||||||
use crate::compression::CompressionMethod;
|
use crate::compression::CompressionMethod;
|
||||||
|
|
Loading…
Add table
Reference in a new issue