Skip to content

Commit a6ad2b8

Browse files
committed
Fix test which accidentally removed :throw
1 parent a7c8be7 commit a6ad2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/test/elixir/kernel/expansion_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ defmodule Kernel.ExpansionTest do
19971997
try do
19981998
x()
19991999
catch
2000-
x when x -> z = :erlang.-(x)
2000+
:throw, x when x -> z = :erlang.-(x)
20012001
end
20022002

20032003
z()

0 commit comments

Comments
 (0)