Skip to content

Commit

Permalink
Start testing
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusmuller committed Sep 7, 2023
1 parent c7d5ac6 commit 8205a56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/ex_doc/language/elixir_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,16 @@ defmodule ExDoc.Language.ElixirTest do
warn(~m"`c:InMemory.unknown/0`")
end

test "warning if typespec references filtered module" do
ExDoc.Refs.insert([
{{:module, AutolinkTest.Keep}, :public},
{{:function, AutolinkTest.Filtered}, :public},
{{:type, AutolinkTest.Filtered, :type, 0}, :public}
])

# TODO: testing
end

test "warnings" do
ExDoc.Refs.insert([
{{:module, AutolinkTest.Foo}, :public},
Expand Down

0 comments on commit 8205a56

Please sign in to comment.