Skip to content

Commit 25c54da

Browse files
author
José Valim
committed
Remove duplicated type assertions
1 parent 48b8efe commit 25c54da

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/elixir/test/elixir/typespec_test.exs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,6 @@ defmodule Typespec.TypeTest do
2525
@type mytype = 1
2626
end
2727
end
28-
assert_raise CompileError, %r"invalid type specification: mytype = 1", fn ->
29-
test_module do
30-
@typep mytype = 1
31-
end
32-
end
33-
assert_raise CompileError, %r"invalid type specification: mytype = 1", fn ->
34-
test_module do
35-
@opaque mytype = 1
36-
end
37-
end
3828
end
3929

4030
test "invalid function specification" do

0 commit comments

Comments
 (0)