Skip to content

Commit 7735cd5

Browse files
committed
Add test
1 parent da6c25c commit 7735cd5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/ex_doc/formatter/html_test.exs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ defmodule ExDoc.Formatter.HTMLTest do
195195

196196
content = File.read!("#{output_dir()}/CustomBehaviourOne-callback-greet.html")
197197
assert content =~ "You're seeing just the callback <code>greet</code>"
198+
199+
assert Path.wildcard("#{output_dir()}/CompiledWithDocs-*slashes.html") == []
198200
end
199201

200202
test "generates all listing files" do

test/fixtures/compiled_with_docs.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ defmodule CompiledWithDocs do
3939
# Check that delegate autogenerate docs
4040
defdelegate flatten(hello), to: List
4141

42+
def unquote(:"name/with/slashes")(), do: :ok
43+
4244
defmodule Nested do
4345
end
4446
end

0 commit comments

Comments
 (0)