Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding commented out for preserving whitespace

  • Loading branch information...
commit 1eef1b4ad7d6f2975bc7d79b319cb30bbb369fdf 1 parent 87dc3ff
@brynary authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/test_basic.rb
View
8 test/test_basic.rb
@@ -7,11 +7,11 @@ def test_nil
end
def test_empty_string
- assert_equal Dryopteris.sanitize(""), ""
+ assert_equal "", Dryopteris.sanitize("")
end
-
- # def test_dont_wrap_in_an_html_element
- # assert_equal Dryopteris.sanitize("Hello"), "Hello"
+
+ # def test_preserve_whitespace
+ # assert_equal "<b>Foo</b>\n<i>Bar</i>", Dryopteris.sanitize("<b>Foo</b>\n<i>Bar</i>")
# end
def test_removal_of_illegal_tag
Please sign in to comment.
Something went wrong with that request. Please try again.