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 @@ -24,11 +24,21 @@ defmodule Vix.Vips.ForeignTest do
24
24
test "find_load_source" do
25
25
bin = File . read! ( img_path ( "puppies.jpg" ) )
26
26
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" )
30
30
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)" )
32
42
end
33
43
34
44
test "find_save_target" do
You can’t perform that action at this time.
0 commit comments