Skip to content

Commit 6e489d4

Browse files
committed
Uncomment test now that we remove shallow subtyping
1 parent 55ae816 commit 6e489d4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/elixir/test/elixir/module/types/descr_test.exs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,10 @@ defmodule Module.Types.DescrTest do
140140
open_map(a: term())
141141
) == open_map(a: term())
142142

143-
# Do we want this want to pass or keep shallow checks only?
144-
# assert union(
145-
# closed_map(a: term(), b: tuple([term(), term()])),
146-
# closed_map(a: float(), b: tuple([atom(), binary()]))
147-
# ) == closed_map(a: term(), b: tuple([term(), term()])),
143+
assert union(
144+
closed_map(a: term(), b: tuple([term(), term()])),
145+
closed_map(a: float(), b: tuple([atom(), binary()]))
146+
) == closed_map(a: term(), b: tuple([term(), term()]))
148147
end
149148
end
150149

0 commit comments

Comments
 (0)