Skip to content

Commit a376d01

Browse files
committed
Remove test which would trigger a warning
warning: this clause cannot match because a previous clause at line 8 always matches
1 parent ce17aa9 commit a376d01

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/elixir/test/elixir/kernel/with_test.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ defmodule Kernel.WithTest do
55

66
test "basic with" do
77
assert with({:ok, res} <- ok(41), do: res) == 41
8-
assert with(res <- four(), do: res + 10) == 14
98
end
109

1110
test "matching with" do

0 commit comments

Comments
 (0)