Skip to content

Commit

Permalink
Make demands test more strict
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Feb 2, 2024
1 parent 47e97c9 commit bbec5ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/membrane/integration/demands_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ defmodule Membrane.Integration.DemandsTest do

defp assert_buffers_received(range, pid) do
Enum.each(range, fn i ->
assert_sink_buffer(pid, :sink, %Buffer{payload: <<^i::16>> <> <<255>>})
assert_sink_buffer(pid, :sink, buffer)
assert %Buffer{payload: <<^i::16>> <> <<255>>} = buffer
end)
end

Expand Down

0 comments on commit bbec5ef

Please sign in to comment.