Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed Jul 5, 2023
1 parent da6bf94 commit 10d1266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/matchers/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down
8 changes: 1 addition & 7 deletions tests/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 10d1266

Please sign in to comment.