Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/mint/http1/fuzz_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ defmodule Mint.HTTP1.FuzzTest do

defp run_client_ops(conn, state) do
ops =
for {index, op, arg1, arg2} <- state.scenario.ops,
index == state.index,
do: {op, arg1, arg2}
for op <- state.scenario.ops,
elem(op, 0) == state.index,
do: Tuple.delete_at(op, 0)

Enum.reduce_while(ops, {:open, conn, state}, fn op, {:open, conn, state} ->
state = %{state | log: state.log ++ [{:client, op}]}
Expand Down
Loading