Sha256: c01f71dcf4ecd10869bc0c524a072a3addc4b262ce4ff8272cb55f431873ebdb

Contents?: true

Size: 268 Bytes

Versions: 8

Compression:

Stored size: 268 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
  
  generate_formatter_tests('latex') do |doc|
    RedCloth.new(doc['in']).to_latex
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
RedCloth-4.0.1 test/test_formatters.rb
RedCloth-4.0.2-x86-mswin32-60 test/test_formatters.rb
RedCloth-4.0.0 test/test_formatters.rb
RedCloth-4.0.0-x86-mswin32-60 test/test_formatters.rb
RedCloth-4.0.1-x86-mswin32-60 test/test_formatters.rb
RedCloth-4.0.2 test/test_formatters.rb
RedCloth-4.0.3 test/test_formatters.rb
RedCloth-4.0.3-x86-mswin32-60 test/test_formatters.rb