From d4bee33fa4dff0070d83847fce754951fbd7f910 Mon Sep 17 00:00:00 2001 From: Robert Haines Date: Sat, 20 Oct 2018 16:38:31 +0100 Subject: [PATCH] Test that an incorrectly stored mimetype is detected. --- test/data/bad_mimetype_offset.container | Bin 0 -> 352 bytes test/read_file_test.rb | 10 ++++++++++ test/test_helper.rb | 1 + 3 files changed, 11 insertions(+) create mode 100644 test/data/bad_mimetype_offset.container diff --git a/test/data/bad_mimetype_offset.container b/test/data/bad_mimetype_offset.container new file mode 100644 index 0000000000000000000000000000000000000000..f78903abcf05616a1b9119149da61282399b9c9a GIT binary patch literal 352 zcmWIWW@h1H0D-CqKi`&lFShUj*&xirAj6Pel$u(SnU}6tQc)5b!pXqgE^;_}r_Jf; z(h6<{MwS=M3=CkxBQ+-{Uq>N4zbGd~kt+bj%>2aFIwC;xK$rt)W^QI~YDr~5Dn9cP z3kq^FlM_oa^Yipm3rdr;t1=4$ycwC~m~pvP0%$q|10xV`X#}xQUCs(|Ihw1{O+