test/makeup/markup_test.rb in makeup-0.3.0 vs test/makeup/markup_test.rb in makeup-0.4.0
- old
+ new
@@ -61,11 +61,11 @@
MD
assert_equal 2, html.scan(/common-lisp/).length
end
end
-
+
describe "#render" do
it "should detect end of code blocks properly" do
html = @renderer.render("file.md", <<-MD)
# This stuff
@@ -85,10 +85,10 @@
puts "bonjour"
end
end
```
MD
-
+
assert_equal 2, html.scan(/rb/).length
end
end
describe "#highlight_code_blocks" do