Skip to content

Commit 7206956

Browse files
committed
more clenaup
1 parent 2fe5d57 commit 7206956

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/ex_unit/lib/ex_unit/diff.ex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,6 @@ defmodule ExUnit.Diff do
377377
{parsed_left, improper_left, operators_left, length_left} =
378378
split_left_list(left, 0, env.context)
379379

380-
# For improper lists, we split based on the left side's structure
381-
# For proper lists, we process the entire right side
382380
{parsed_right, improper_right} =
383381
if improper_left != [] do
384382
split_right_list(right, length_left, [])

lib/ex_unit/test/ex_unit/diff_test.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ defmodule ExUnit.DiffTest do
339339
end
340340

341341
test "proper lists" do
342-
assert [:a | _x] = [:a, :b | :c]
343342
assert_diff([:a | [:b]] = [:a, :b], [])
344343
assert_diff([:a | [:b, :c]] = [:a, :b, :c], [])
345344

0 commit comments

Comments
 (0)