Skip to content

Commit

Permalink
added test for raw tags insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravchenko committed Mar 20, 2015
1 parent 051328e commit 7a607f8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/renderer.test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -334,3 +334,18 @@ describe 'JadePhpCompiler', ->
pretty: yes
omitPhpRuntime: yes
omitPhpExtractor: yes

describe "raw tag inserting", ->
it "should work :)", ->
c """
doctype html
html
head
title test
<body !{bodyAttributes}>
header
main
article
footer
</body>
""", '<!DOCTYPE html><html><head><title>test</title></head><body <?= $bodyAttributes ?>><header></header><main><article></article></main><footer></footer></body></html>'

0 comments on commit 7a607f8

Please sign in to comment.