Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/all-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
"Using a regular rule should not result in an error": function() {
var result = CSSLint.verify("body { margin: 0; }", this.options);
Assert.areEqual(0, result.messages.length);
},

"Using an unclosed function should not result in a system crash": function() {
CSSLint.verify("#test{width:calc(100% =", this.options);
Assert.pass();
}

}));
Expand All @@ -63,4 +68,3 @@
YUITest.TestRunner.add(suite);

})();