File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,20 @@ AQACEQMRAD8AIcgXf//Z""";
7272 1683078832 * 1000 );
7373 expect ((await jsonExtractor (imgFile3))? .millisecondsSinceEpoch,
7474 1666942303 * 1000 );
75- expect ((await jsonExtractor (imgFile4))? .millisecondsSinceEpoch,
76- 1683074444 * 1000 );
77- expect ((await jsonExtractor (imgFile4_1))? .millisecondsSinceEpoch,
78- 1683074444 * 1000 );
75+ // They *should* fail without tryhard
76+ // See b38efb5d / #175
77+ expect ((await jsonExtractor (imgFile4))? .millisecondsSinceEpoch, null );
78+ expect ((await jsonExtractor (imgFile4_1))? .millisecondsSinceEpoch, null );
79+ // Should work *with* tryhard
80+ expect (
81+ (await jsonExtractor (imgFile4, tryhard: true ))? .millisecondsSinceEpoch,
82+ 1683074444 * 1000 ,
83+ );
84+ expect (
85+ (await jsonExtractor (imgFile4_1, tryhard: true ))
86+ ? .millisecondsSinceEpoch,
87+ 1683074444 * 1000 ,
88+ );
7989 });
8090 test ('test exif extractor' , () async {
8191 expect (
You can’t perform that action at this time.
0 commit comments