1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00

Added test for rt-repeat over object literal collection

This commit is contained in:
Antonino Porcino 2016-01-01 19:22:35 +01:00
parent f35bb9312a
commit 9375b8e2d1
3 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
<div>
<div rt-repeat="items in {a:1, b:2}">
{items}
</div>
</div>

View File

@ -0,0 +1 @@
<div><div>1</div><div>2</div></div>

View File

@ -184,7 +184,7 @@ test('convert jsrt and test source results', function (t) {
test('html tests', function (t) {
var files = ['scope.rt', 'scope-trailing-semicolon.rt', 'scope-variable-references.rt', 'lambda.rt', 'eval.rt', 'props.rt', 'custom-element.rt', 'style.rt', 'concat.rt',
'js-in-attr.rt', 'props-class.rt', 'rt-class.rt', 'className.rt', 'svg.rt',
'scope-evaluated-after-repeat.rt', 'scope-evaluated-after-repeat2.rt', 'scope-evaluated-after-if.rt', 'scope-obj.rt'
'repeat-literal-collection.rt', 'scope-evaluated-after-repeat.rt', 'scope-evaluated-after-repeat2.rt', 'scope-evaluated-after-if.rt', 'scope-obj.rt'
];
t.plan(files.length);