Permalink
Browse files

Added another failing test

  • Loading branch information...
1 parent 0bfa7e7 commit 3a6af00ee598cda4fe77168fa3f9a6d681efd7ab @tj tj committed Aug 4, 2010
Showing with 15 additions and 4 deletions.
  1. +15 −4 test/jade.test.js
View
@@ -472,16 +472,27 @@ module.exports = {
assert.equal(html, render(str));
var str = [
- 'title foo',
- '- if (true)',
- ' p something',
+ 'p foo',
+ '= "bar"',
].join('\n');
var html = [
- '<title>foo</title><p>something</p>'
+ '<p>foo</p>bar'
].join('');
assert.equal(html, render(str));
+
+ // var str = [
+ // 'title foo',
+ // '- if (true)',
+ // ' p something',
+ // ].join('\n');
+ //
+ // var html = [
+ // '<title>foo</title><p>something</p>'
+ // ].join('');
+ //
+ // assert.equal(html, render(str));
},
'test - each': function(assert){

0 comments on commit 3a6af00

Please sign in to comment.