test/test_structure.rb in ClothRed-0.3.1 vs test/test_structure.rb in ClothRed-0.4.1
- old
+ new
@@ -15,11 +15,11 @@
class TestClothRedStructures < Test::Unit::TestCase
STRUCTURE_TEST = [
["<blockquote>blockquote</blockquote>","bq. blockquote"],
- ["<p>paragraph</p><p>another paragraph</p>", "paragraph\n\nanother paragraph\n\n"],
+ ["<p>paragraph</p><p>another paragraph</p>", "p. paragraph\n\np. another paragraph\n\n"],
["HTML page break<br>", "HTML page break\n"], ["XHTML page break<br />", "XHTML page break\n"]
]
def test_structures
@@ -27,6 +27,6 @@
test_html = ClothRed.new(html)
result = test_html.to_textile
assert_equal(textile,result)
end
end
-end
+end
\ No newline at end of file