jekyll-toc-0.13.1/0000755000004100000410000000000013615547335013715 5ustar www-datawww-datajekyll-toc-0.13.1/test/0000755000004100000410000000000013615547335014674 5ustar www-datawww-datajekyll-toc-0.13.1/test/parser/0000755000004100000410000000000013615547335016170 5ustar www-datawww-datajekyll-toc-0.13.1/test/parser/test_inject_anchors_filter.rb0000644000004100000410000000100113615547335024102 0ustar www-datawww-data# frozen_string_literal: true require 'test_helper' class TestInjectAnchorsFilter < Minitest::Test include TestHelpers def setup read_html_and_create_parser end def test_injects_anchors_into_content html = @parser.inject_anchors_into_html assert_match(%r{Simple H1}, html) end def test_does_not_inject_toc html = @parser.inject_anchors_into_html assert_nil(/