diff options
author | Matthias Held <ilovemilk@wusa.io> | 2018-09-07 23:25:53 +0300 |
---|---|---|
committer | Matthias Held <ilovemilk@wusa.io> | 2018-09-07 23:25:53 +0300 |
commit | 205d04733ca6317898650f41974b791788807bf9 (patch) | |
tree | 691e9fa90ca4dd429ac10765d3e32acd44dd14dd /tests/Unit | |
parent | bfa5a705db67855b7f640dd0ac4289e1614ffb96 (diff) |
Fix logical union of starting and trailing signature
Diffstat (limited to 'tests/Unit')
-rw-r--r-- | tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php b/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php index 182cc33..0bc0f40 100644 --- a/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php +++ b/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php @@ -99,7 +99,9 @@ class FileCorruptionAnalyzerTest extends TestCase ['data' => 'ffff', 'extension' => 'unknown', 'result' => false], ['data' => 'ffd8ffffffff', 'extension' => 'csv', 'result' => false], ['data' => 'ffd8ffe000104a46494600ffffffd9', 'extension' => 'jpg', 'result' => false], + ['data' => 'FFD8FFE136B5457869660000ffffffd9', 'extension' => 'jpg', 'result' => false], ['data' => 'ffd8ffe000104a46494600ffff', 'extension' => 'jpg', 'result' => true], + ['data' => '25504446ff0d2525454f460d', 'extension' => 'pdf', 'result' => false], ['data' => 'ffff', 'extension' => 'jpg', 'result' => true], ]; } |