Permalink
Browse files

Added tests for self-closing tags

  • Loading branch information...
1 parent f9683ab commit 5a6c46deed726efe98de8711b486765889c03f95 @norman norman committed Oct 14, 2010
Showing with 13 additions and 0 deletions.
  1. +13 −0 tests.json
View
@@ -114,6 +114,19 @@
}
},
+ "a self-closing tag ('/' modifier + XHTML)" : {
+ "haml" : "%zzz/",
+ "html" : "<zzz />"
+ },
+
+ "a self-closing tag ('/' modifier + HTML5)" : {
+ "haml" : "%zzz/",
+ "html" : "<zzz>",
+ "config" : {
+ "format" : "html5"
+ }
+ },
+
"a tag with a CSS class" : {
"haml" : "%p.class1",
"html" : "<p class='class1'></p>"

0 comments on commit 5a6c46d

Please sign in to comment.