1 | cc = require '../lib/coffeecup'
|
2 |
|
3 | describe 'Comments', ->
|
4 | describe 'comment "Comment"', ->
|
5 | it 'should render <!--Comment-->', ->
|
6 | c = -> comment "Comment"
|
7 | cc.render(c).should.equal '<!--Comment-->'
|
8 |
|
9 | describe 'Comments optimized', ->
|
10 | describe 'comment "Comment"', ->
|
11 | it 'should render <!--Comment-->', ->
|
12 | c = -> comment "Comment"
|
13 | cc.render(c, optimized: true, cache: on).should.equal '<!--Comment-->'
|