Update tests to be compliant with #1037.

This commit is contained in:
Parker Moore 2013-05-07 16:45:15 +02:00
parent f9e3cf21f9
commit 5dd3b0b71d
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ class TestRedcarpet < Test::Unit::TestCase
end end
should "render fenced code blocks" do should "render fenced code blocks" do
assert_equal "<div class=\"highlight\"><pre><code class=\"ruby\"><span class=\"nb\">puts</span> <span class=\"s2\">&quot;Hello world&quot;</span>\n</code></pre></div>", @markdown.convert( assert_equal "<div class=\"highlight\"><pre><code class=\"ruby language-ruby\"><span class=\"nb\">puts</span> <span class=\"s2\">&quot;Hello world&quot;</span>\n</code></pre></div>", @markdown.convert(
<<-EOS <<-EOS
```ruby ```ruby
puts "Hello world" puts "Hello world"