File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ defmodule ExDoc.Formatter.HTMLTest do
87
87
generate_docs ( doc_config ( context , main: "Randomerror" ) )
88
88
end )
89
89
90
- assert output == "warning: index.html redirects to Randomerror.html, which does not exist\n "
90
+ assert output =~ "warning: index.html redirects to Randomerror.html, which does not exist\n "
91
91
assert File . regular? ( tmp_dir <> "/html/index.html" )
92
92
assert File . regular? ( tmp_dir <> "/html/RandomError.html" )
93
93
end
@@ -104,17 +104,6 @@ defmodule ExDoc.Formatter.HTMLTest do
104
104
assert output =~ ~r" Warnings.bar/0.*\n test/fixtures/warnings.ex:8: t:Warnings.t/0"
105
105
end
106
106
107
- test "warns on undefined functions in file" , context do
108
- output =
109
- capture_io ( :stderr , fn ->
110
- generate_docs (
111
- doc_config ( context , skip_undefined_reference_warnings_on: [ "test/fixtures/warnings.ex" ] )
112
- )
113
- end )
114
-
115
- assert output == ""
116
- end
117
-
118
107
test "generates headers for index.html and module pages" , % { tmp_dir: tmp_dir } = context do
119
108
generate_docs ( doc_config ( context , main: "RandomError" ) )
120
109
content_index = File . read! ( tmp_dir <> "/html/index.html" )
You can’t perform that action at this time.
0 commit comments