@@ -96,7 +96,7 @@ var testcases = []testcase{
96
96
{"flac" , "\x66 \x4C \x61 \x43 \x00 \x00 \x00 \x22 " , "audio/flac" , true },
97
97
{"flv" , "\x46 \x4C \x56 \x01 " , "video/x-flv" , true },
98
98
{"gbr" , offset (20 , "GIMP" ), "image/x-gimp-gbr" , true },
99
- {"geojson" , `{"type":"Feature"}` , "application/geo+json" , false },
99
+ {"geojson" , `{"type":"Feature"}` , "application/geo+json" , true },
100
100
{"gif 87" , "GIF87a" , "image/gif" , true },
101
101
{"gif 89" , "GIF89a" , "image/gif" , false },
102
102
{"glb 1" , "\x67 \x6C \x54 \x46 \x02 \x00 \x00 \x00 " , "model/gltf-binary" , true },
@@ -142,7 +142,7 @@ var testcases = []testcase{
142
142
{"json" , `{"key":"val"}` , "application/json" , true },
143
143
{"json issue#239" , "{\x0A \x09 \x09 \" key\" :\" val\" }\x0A " , "application/json" , false },
144
144
// json.{int,string}.txt contain a single JSON value. They are valid JSON
145
- // documentsthey should not be detected as application/json. This mimics
145
+ // documents but they should not be detected as application/json. This mimics
146
146
// the behaviour of the file utility and seems the correct thing to do.
147
147
{"json.int.txt" , "1" , "text/plain; charset=utf-8" , false },
148
148
{"json.float.txt" , "1.5" , "text/plain; charset=utf-8" , false },
0 commit comments