Skip to content

Commit 14014d4

Browse files
committed
adds test for AVI file detection
1 parent edd8d8d commit 14014d4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/files/bees.avi

768 KB
Binary file not shown.

test/query.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,7 @@ context("Multiple Magic bytes") do
292292
@fact position(io) --> 4
293293
end
294294
end
295+
context("AVI Detection") do
296+
q = query(joinpath(file_dir, "bees.avi"))
297+
@fact typeof(q) --> File{format"AVI"}
298+
end

0 commit comments

Comments
 (0)