Sha256: 6095c823ca27611fe4f9450b8b5f8d2c97e23dde635f812f7375fd603d050f91
Contents?: true
Size: 649 Bytes
Versions: 8
Compression:
Stored size: 649 Bytes
Contents
#!/usr/bin/env ruby require 'helper' class TestFormatters < Test::Unit::TestCase generate_formatter_tests('html') do |doc| RedCloth.new(doc['in']).to_html end def test_html_orphan_parenthesis_in_link_can_be_followed_by_punctuation_and_words assert_nothing_raised { RedCloth.new(%Q{Test "(read this":http://test.host), ok}).to_html } end generate_formatter_tests('latex') do |doc| RedCloth.new(doc['in']).to_latex end def test_latex_orphan_parenthesis_in_link_can_be_followed_by_punctuation_and_words assert_nothing_raised { RedCloth.new(%Q{Test "(read this":http://test.host), ok}).to_latex } end end
Version data entries
8 entries across 8 versions & 1 rubygems