Skip to content

Commit bb17204

Browse files
moogle19josevalim
authored andcommitted
Only check for unwanted functions (#11632)
1 parent 1e4ed32 commit bb17204

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/elixir/test/elixir/module/locals_tracker_test.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ defmodule Module.LocalsTrackerTest do
119119
end
120120

121121
test "does not include unreachable locals" do
122-
assert NoPrivate.module_info(:functions) ==
123-
[__info__: 1, baz: 0, module_info: 0, module_info: 1]
122+
assert NoPrivate.module_info(:functions) |> Keyword.take([:foo, :bar, :"MACRO-foo"]) == []
124123
end
125124
end

0 commit comments

Comments
 (0)