diff --git a/test/ex_doc/formatter/html/templates_test.exs b/test/ex_doc/formatter/html/templates_test.exs index b9d99b498..02cf116a5 100644 --- a/test/ex_doc/formatter/html/templates_test.exs +++ b/test/ex_doc/formatter/html/templates_test.exs @@ -91,7 +91,7 @@ defmodule ExDoc.Formatter.HTML.TemplatesTest do """ - assert Templates.link_headings("

Foo

") == String.rstrip(""" + assert Templates.link_headings("

Foo

") == String.trim_trailing("""

Foo @@ -99,7 +99,7 @@ defmodule ExDoc.Formatter.HTML.TemplatesTest do

""") - assert Templates.link_headings("

Foo

\n

") == String.rstrip(""" + assert Templates.link_headings("

Foo

\n

") == String.trim_trailing("""

Foo