diff --git a/tests/integration.rs b/tests/integration.rs index b67b3ee..f88e568 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -19,6 +19,8 @@ use crate::utils::{assert_same_directory, write_random_content}; #[derive(Arbitrary, Debug, Display)] #[display(style = "lowercase")] enum DirectoryExtension { + #[display("7z")] + SevenZ, Tar, Tbz, Tbz2, diff --git a/tests/mime.rs b/tests/mime.rs index 1f340d0..bf52179 100644 --- a/tests/mime.rs +++ b/tests/mime.rs @@ -17,11 +17,12 @@ fn sanity_check_through_mime() { write_random_content(test_file, &mut SmallRng::from_entropy()); let formats = [ - "tar", "zip", "tar.gz", "tgz", "tbz", "tbz2", "txz", "tlzma", "tzst", "tar.bz", "tar.bz2", "tar.lzma", + "7z", "tar", "zip", "tar.gz", "tgz", "tbz", "tbz2", "txz", "tlzma", "tzst", "tar.bz", "tar.bz2", "tar.lzma", "tar.xz", "tar.zst", ]; let expected_mimes = [ + "application/x-7z-compressed", "application/x-tar", "application/zip", "application/gzip",