Permalink
Browse files

Added specs for whitespace removal.

  • Loading branch information...
1 parent 6866f3f commit 3a7c6f390088141ae1fc8b179c86ddfba5374626 @norman norman committed Oct 12, 2010
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests.json
View
@@ -545,5 +545,17 @@
"haml" : "%pre\n hello\n hello",
"html" : "<pre>hello\nhello</pre>"
}
+ },
+
+ "Whitespace removal" : {
+ "a tag with > appended" : {
+ "haml" : "%li hello\n%li> world\n%li again",
+ "html" : "<li>hello</li><li>world</li><li>again</li>"
+ },
+
+ "a tag with < appended" : {
+ "haml" : "%p<\n hello\n world",
+ "html" : "<p>hello\nworld</p>"
+ }
}
}

0 comments on commit 3a7c6f3

Please sign in to comment.