$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib" require 'github/markup' require 'test/unit' class MarkupTest < Test::Unit::TestCase def test_markdown markdown = GitHub::Markup.render('README.markdown', "* One\n* Two") assert_equal <
  • One
  • Two
  • markdown end def test_textile textile = GitHub::Markup.render('README.textile', "* One\n* Two") assert_equal < \t
  • One
  • \t
  • Two
  • textile end end