Skip to content

Commit 883e0c2

Browse files
committed
Fix warning on import test
1 parent b0dbfa7 commit 883e0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/test/elixir/kernel/import_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ defmodule Kernel.ImportTest do
243243
end
244244

245245
test "import lexical on with" do
246-
with true <- false do
246+
with [_ | _] <- List.flatten([]) do
247247
import List
248248
flatten([1, [2], 3])
249249
flunk()

0 commit comments

Comments
 (0)