Skip to content

Commit

Permalink
Update test_various_toc_html.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
N7K4 authored Apr 30, 2020
1 parent 6d6bf32 commit 864047a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parser/test_various_toc_html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ def test_nested_toc_with_no_toc_section_class
assert_equal(expected, actual)

html = parser.inject_anchors_into_html
assert_match(%r{<h1>.+</h1>}m, html)
assert_match(%r{<h3>.+</h3>}m, html)
assert_match(%r{<h6>.+</h6>}m, html)
assert_match(%r{<h1 id="h1">.+</h1>}m, html)
assert_match(%r{<h3 id="h3">.+</h3>}m, html)
assert_match(%r{<h6 id="h6">.+</h6>}m, html)
assert_includes(html, '<h2>h2</h2>')
end

Expand Down

0 comments on commit 864047a

Please sign in to comment.