Skip to content

Commit 688d67c

Browse files
committed
test
1 parent baac85c commit 688d67c

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

test/vix/foreign_test.exs

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,21 @@ defmodule Vix.Vips.ForeignTest do
2424
test "find_load_source" do
2525
bin = File.read!(img_path("puppies.jpg"))
2626

27-
assert {pipe, source} = Vix.SourcePipe.new()
28-
assert :ok = Vix.SourcePipe.write(pipe, bin)
29-
assert :ok = Vix.SourcePipe.stop(pipe)
27+
assert {pipe, source} =
28+
Vix.SourcePipe.new()
29+
|> IO.inspect(label: "Vix.SourcePipe.new")
3030

31-
assert {:ok, "VipsForeignLoadJpegSource"} = Foreign.find_load_source(source)
31+
assert :ok =
32+
Vix.SourcePipe.write(pipe, bin)
33+
|> IO.inspect(label: "Vix.SourcePipe.write")
34+
35+
assert :ok =
36+
Vix.SourcePipe.stop(pipe)
37+
|> IO.inspect(label: "Vix.SourcePipe.stop")
38+
39+
assert {:ok, "VipsForeignLoadJpegSource"} =
40+
Foreign.find_load_source(source)
41+
|> IO.inspect(label: "Foreign.find_load_source(source)")
3242
end
3343

3444
test "find_save_target" do

0 commit comments

Comments
 (0)