Skip to content

Commit 9cbe498

Browse files
author
José Valim
committed
Update heredoc tests
1 parent edf55a8 commit 9cbe498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_unit/test/ex_unit/doc_test_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ defmodule ExUnit.DocTestTest do
185185
end
186186

187187
test "variables in heredocs do not leak" do
188-
assert_raise CompileError, ~r"function '_a'/0 undefined", fn ->
188+
assert_raise ArgumentError, fn ->
189189
defmodule NeverCompiled do
190190
import ExUnit.DocTest
191191
doctest ExUnit.DocTestTest.Invalid

0 commit comments

Comments
 (0)