Permalink
Browse files

Added literal html test

  • Loading branch information...
1 parent a92521b commit be788bc5aaa20c9032eb8a5f74596df1a0727bce @tj tj committed Oct 20, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/jade.test.js
View
@@ -580,6 +580,10 @@ module.exports = {
assert.equal(html, render(str));
},
+ 'test literal html': function(assert){
+ assert.equal('<!--[if IE lt 9]>weeee<![endif]-->\n', render('<!--[if IE lt 9]>weeee<![endif]-->'));
+ },
+
'test code': function(assert){
assert.equal('test', render('!= "test"'));
assert.equal('test', render('= "test"'));

0 comments on commit be788bc

Please sign in to comment.