Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
maschwenk committed Sep 21, 2018
1 parent 03e7997 commit fc52d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/custom_render_test.rb
Expand Up @@ -23,7 +23,7 @@ def test_simple_overload
end

def test_renderer_options
parser = Redcarpet::Markdown.new(SimpleRender.new(with_toc_data: true))
parser = Redcarpet::Markdown.new(SimpleRender.new({ with_toc_data: true }.freeze), {})
output = parser.render("# A title")

assert_match "My little poney", output
Expand Down

0 comments on commit fc52d9c

Please sign in to comment.