Skip to content

Commit 5d00232

Browse files
whatyouhideJosé Valim
authored and
José Valim
committed
Fix an assertion in Kernel.TypespecTest
Signed-off-by: José Valim <[email protected]>
1 parent c319bc4 commit 5d00232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/test/elixir/kernel/typespec_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ defmodule Kernel.TypespecTest do
468468
end
469469

470470
test "invalid remote @type with module attribute that does not evaluate to a module" do
471-
assert_raise CompileError, ~r/(@foo is "bar")/, fn ->
471+
assert_raise CompileError, ~r/\(@foo is "bar"\)/, fn ->
472472
test_module do
473473
@foo "bar"
474474
@type t :: @foo.t

0 commit comments

Comments
 (0)