Skip to content

Commit 3eae3fc

Browse files
authored
Try full path
1 parent cabe7c3 commit 3eae3fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/ex_doc/formatter/html_test.exs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,15 @@ defmodule ExDoc.Formatter.HTMLTest do
116116
config =
117117
doc_config(context,
118118
extras: [
119-
"readme.md",
119+
"#{tmp_dir}/readme.md",
120120
"Elixir": [url: "https://elixir-lang.org"]
121121
]
122122
)
123123

124124
File.write!("#{tmp_dir}/readme.md", "readme")
125-
126125
generate_docs(config)
127126

128127
content = File.read!(tmp_dir <> "/html/readme.html")
129-
130128
assert content =~ "https://elixir-lang.org"
131129
end
132130

0 commit comments

Comments
 (0)