Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add another test case.

  • Loading branch information...
commit 16f22813371784a4b8adedccea63e35e1244a524 1 parent a41e0a2
@creationix authored
Showing with 16 additions and 0 deletions.
  1. +8 −0 test/non-string-attribs.haml
  2. +8 −0 test/non-string-attribs.html
View
8 test/non-string-attribs.haml
@@ -0,0 +1,8 @@
+#plain= "Plain Text"
+#escaped&= "<escaped>"
+%input{checked: true}
+%input{checked: false}
+%input{checked: null}
+%input{checked: undefined}
+%input{checked: 0}
+%input{checked: ""}
View
8 test/non-string-attribs.html
@@ -0,0 +1,8 @@
+<div id="plain">Plain Text</div>
+<div id="escaped">&lt;escaped&gt;</div>
+<input checked="checked" />
+<input />
+<input />
+<input />
+<input checked="0" />
+<input />
Please sign in to comment.
Something went wrong with that request. Please try again.