Skip to content

Commit

Permalink
Update test to only check common file formats
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Nov 10, 2023
1 parent cec78c2 commit 1db68f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/vix/vips/image_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -320,15 +320,15 @@ defmodule Vix.Vips.ImageTest do
test "supported_saver_suffixes" do
{:ok, list} = Image.supported_saver_suffixes()

for suffix <- ~w(.jpeg .png .gif .tiff .webp .heif .avif) do
for suffix <- ~w(.jpeg .png .gif .tiff .vips .raw) do
assert suffix in list
end
end

test "supported_loader_suffixes" do
{:ok, list} = Image.supported_loader_suffixes()

for suffix <- ~w(.jpeg .png .gif .tiff .webp .heif .avif .svg) do
for suffix <- ~w(.jpeg .png .gif .tiff .vips .svg) do
assert suffix in list
end
end
Expand Down

0 comments on commit 1db68f0

Please sign in to comment.