Added test for declarations

This commit is contained in:
Patrick Steele-Idem 2017-02-08 23:53:40 -08:00
parent 2ae20ae431
commit 0e2cfc4c3e
4 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class Declaration extends Node {
return [
builder.htmlLiteral('<?'),
codegen.generateCode(this.declaration),
codegen.generateCode(builder.text(this.declaration)),
builder.htmlLiteral('?>')
];
}

View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

View File

@ -0,0 +1,2 @@
exports.templateData = {};
exports.vdomSkip = true;