Skip to content

Commit 2fe5d57

Browse files
committed
remove comments
1 parent 7e96c05 commit 2fe5d57

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/ex_unit/lib/ex_unit/diff.ex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,14 +418,12 @@ defmodule ExUnit.Diff do
418418
diff(left, right, env)
419419
end
420420

421-
# When matching improper lists, split right list up to the length of left list's proper part
422421
defp split_right_list([head | tail], length, acc) when length > 0,
423422
do: split_right_list(tail, length - 1, [head | acc])
424423

425424
defp split_right_list(rest, length, acc) when is_integer(length),
426425
do: {Enum.reverse(acc), rest}
427426

428-
# For proper lists, process the entire list
429427
defp split_right_list([head | tail], acc),
430428
do: split_right_list(tail, [head | acc])
431429

0 commit comments

Comments
 (0)