Skip to content

Commit

Permalink
fix compiler warning in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Jul 20, 2024
1 parent ebe1799 commit 6842bb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/vix/vips/operation_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ defmodule Vix.Vips.OperationTest do
test "additional return values", %{dir: _dir} do
{:ok, im} = Image.new_from_file(img_path("black_on_white.jpg"))

assert {:ok, {0.0, %{x: _, y: _, "out-array": [0.0], "x-array": [_ | _], "y-array": [_ | _]}}} =
assert {:ok, {min, %{x: _, y: _, "out-array": [min], "x-array": [_ | _], "y-array": [_ | _]}}} =
Operation.min(im)

assert min in [-0.0, +0.0]
end

test "required output order", %{dir: _dir} do
Expand Down

0 comments on commit 6842bb6

Please sign in to comment.