Permalink
Browse files

Rename HTML tests

  • Loading branch information...
1 parent bb0e1c6 commit de8456cacc46ed574312ed6359107e789b475534 @drbrain drbrain committed Oct 30, 2011
Showing with 20 additions and 20 deletions.
  1. +20 −20 test/test_pegdown.rb
View
@@ -181,26 +181,6 @@ def test_parse_heading_setext_equals
assert_equal expected, doc
end
- def test_parse_html_address
- @parser.html = true
-
- doc = parse "<address>Links here</address>"
-
- expected = @RM::Document.new(
- @RM::Paragraph.new("<address>Links here</address>"))
-
- assert_equal expected, doc
- end
-
- def test_parse_html_address_no_html
- doc = parse "<address>Links here</address>"
-
- expected = @RM::Document.new(
- @RM::Paragraph.new("Links here"))
-
- assert_equal expected, doc
- end
-
def test_parse_image
doc = parse "image ![alt text](path/to/image.jpg)"
@@ -336,6 +316,26 @@ def test_parse_paragraph_stars
assert_equal expected, doc
end
+ def test_parse_paragraph_html
+ @parser.html = true
+
+ doc = parse "<address>Links here</address>"
+
+ expected = @RM::Document.new(
+ @RM::Paragraph.new("<address>Links here</address>"))
+
+ assert_equal expected, doc
+ end
+
+ def test_parse_paragraph_html_no_html
+ doc = parse "<address>Links here</address>"
+
+ expected = @RM::Document.new(
+ @RM::Paragraph.new("Links here"))
+
+ assert_equal expected, doc
+ end
+
def test_parse_paragraph_indent_one
doc = parse <<-MD
text

0 comments on commit de8456c

Please sign in to comment.