diff --git a/src/matchers/app.rs b/src/matchers/app.rs index 53efdeb..d1b8101 100644 --- a/src/matchers/app.rs +++ b/src/matchers/app.rs @@ -85,7 +85,7 @@ pub fn is_mach(buf: &[u8]) -> bool { //which also use 0xCAFEBABE as magic bytes //Fat Mach-O binaries are always Big Endian u32::from_be_bytes([buf[4], buf[5], buf[6], buf[7]]) < 45 - }, + } _ => false, } } diff --git a/tests/app.rs b/tests/app.rs index 2576c8c..3f71b3b 100644 --- a/tests/app.rs +++ b/tests/app.rs @@ -42,13 +42,7 @@ test_format!( "sample_mach_fat" ); -test_format!( - App, - "application/java", - "class", - java, - "sample.class" -); +test_format!(App, "application/java", "class", java, "sample.class"); test_format!(App, "application/wasm", "wasm", wasm, "sample.wasm");