Sha256: 2d24f0c24434f395ed61d99d74731af304f30bac1871b3c2da3aae737dd17d9f
Contents?: true
Size: 382 Bytes
Versions: 10
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class TestBasics < Minitest::Test def setup @doc = CommonMarker.render_doc('Hi *there*') end def test_to_html assert_equal "<p>Hi <em>there</em></p>\n", @doc.to_html end def test_markdown_to_html html = CommonMarker.render_html('Hi *there*') assert_equal "<p>Hi <em>there</em></p>\n", html end end
Version data entries
10 entries across 10 versions & 2 rubygems