Sha256: b3082f2b6c362a25d838c1a1963476cf32174b10f16efb2f85c1a1a666c6f378
Contents?: true
Size: 618 Bytes
Versions: 6
Compression:
Stored size: 618 Bytes
Contents
### # NB: for local testing run like: # # 1.8.x: ruby -Ilib -rrubygems test/test_kramdown.rb # 1.9.x: ruby -Ilib test/test_kramdown.rb # core and stlibs require 'test/unit' require 'logger' require 'pp' # our own code require 'lib/markdown' class TestKramdown < Test::Unit::TestCase def setup Markdown.lib = 'kramdown' end def test_lib lib = Markdown.lib assert_equal( 'kramdown', lib ) end def test_to_html html = Markdown.new( 'Hello World!' ).to_html assert_equal( "<p>Hello World!</p>\n", html ) end end # class TestKramdown
Version data entries
6 entries across 6 versions & 1 rubygems