Sha256: a1570dc55f2297fc42921451e3afc82c9d4d324e5fa64e76889fe703daa08df6

Contents?: true

Size: 283 Bytes

Versions: 36

Compression:

Stored size: 283 Bytes

Contents

require 'test_helper'

class TestRenderer < Minitest::Test
  def setup
    @doc = CommonMarker.render_doc('Hi *there*')
  end

  def test_html_renderer
    renderer = HtmlRenderer.new
    result = renderer.render(@doc)
    assert_equal "<p>Hi <em>there</em></p>\n", result
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
commonmarker-0.17.4 test/test_renderer.rb
commonmarker-0.17.2 test/test_renderer.rb
commonmarker-0.17.1 test/test_renderer.rb
commonmarker-0.17.0 test/test_renderer.rb
commonmarker-0.16.8 test/test_renderer.rb
commonmarker-0.16.7 test/test_renderer.rb
commonmarker-0.16.6 test/test_renderer.rb
commonmarker-0.16.5 test/test_renderer.rb
commonmarker-0.16.4 test/test_renderer.rb
commonmarker-0.16.1 test/test_renderer.rb
commonmarker-0.16.2 test/test_renderer.rb
commonmarker-0.16.3 test/test_renderer.rb
commonmarker-0.16.0 test/test_renderer.rb
commonmarker-0.15.0 test/test_renderer.rb
commonmarker-0.14.15 test/test_renderer.rb
commonmarker-0.14.14 test/test_renderer.rb
commonmarker-0.14.13 test/test_renderer.rb
commonmarker-0.14.12 test/test_renderer.rb
commonmarker-0.14.11 test/test_renderer.rb
commonmarker-0.14.9 test/test_renderer.rb