# encoding: utf-8 class Nanoc3::Filters::KramdownTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers def test_filter if_have 'kramdown' do # Create filter filter = ::Nanoc3::Filters::Kramdown.new # Run filter result = filter.run("This is _so_ **cool**!") assert_equal("

This is so cool!

\n", result) end end end