Sha256: 5a10f3424540fcef85fe911f6296bcf29ba4f09b7cae18d93cecb6c01077caaf
Contents?: true
Size: 688 Bytes
Versions: 1
Compression:
Stored size: 688 Bytes
Contents
#!/usr/bin/env ruby require File.join('.',File.dirname(__FILE__), '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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
BBRedCloth-0.8.5 | test/test_formatters.rb |