Marko v3: Restored tests for circular renderers and circular templates

This commit is contained in:
Patrick Steele-Idem 2016-02-04 21:00:58 -07:00
parent 7d730049d9
commit 6f9de660f8
12 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,5 @@
var template = require('./template.marko');
exports.renderer = function(input, out) {
template.render({}, out);
};

View File

@ -0,0 +1,2 @@
- test-circular-renderer-a
<test-circular-renderer-b/>

View File

@ -0,0 +1,5 @@
var template = require('./template.marko');
exports.renderer = function(input, out) {
out.write('test-circular-renderer-b');
};

View File

@ -0,0 +1 @@
<test-circular-renderer-a/>

View File

@ -0,0 +1,2 @@
- test-circular-template-a
<test-circular-template-b/>

View File

@ -0,0 +1 @@
- test-circular-template-b<test-circular-template-a if(false)/>