Allow the if_then_panic clippy lint in one more place

This commit is contained in:
TÖRÖK Attila 2021-10-04 00:02:47 +02:00 committed by Mike Welsh
parent 281455be6d
commit 8cf39f3001
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ macro_rules! swf_tests_approx {
($($(#[$attr:meta])* ($name:ident, $path:expr, $num_frames:literal $(, $opt:ident = $val:expr)*),)*) => {
$(
#[test]
#[allow(clippy::if_then_panic)] // TODO: Remove when https://github.com/brendanzab/approx/pull/72 is merged.
$(#[$attr])*
fn $name() -> Result<(), Error> {
set_logger();