Allow the if_then_panic clippy lint in one more place
This commit is contained in:
parent
281455be6d
commit
8cf39f3001
|
@ -81,6 +81,7 @@ macro_rules! swf_tests_approx {
|
||||||
($($(#[$attr:meta])* ($name:ident, $path:expr, $num_frames:literal $(, $opt:ident = $val:expr)*),)*) => {
|
($($(#[$attr:meta])* ($name:ident, $path:expr, $num_frames:literal $(, $opt:ident = $val:expr)*),)*) => {
|
||||||
$(
|
$(
|
||||||
#[test]
|
#[test]
|
||||||
|
#[allow(clippy::if_then_panic)] // TODO: Remove when https://github.com/brendanzab/approx/pull/72 is merged.
|
||||||
$(#[$attr])*
|
$(#[$attr])*
|
||||||
fn $name() -> Result<(), Error> {
|
fn $name() -> Result<(), Error> {
|
||||||
set_logger();
|
set_logger();
|
||||||
|
|
Loading…
Reference in New Issue