Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins committed Jun 8, 2021
1 parent fcace84 commit 11e9648
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/mustachio/runtime_renderer_builder_test.dart
Expand Up @@ -131,8 +131,8 @@ class Baz {}
self.renderSimpleVariable(c, remainingNames, 'List<int>'),
renderIterable:
(CT_ c, RendererBase<CT_> r, List<MustachioNode> ast) {
return c.l1.map(
(e) => renderSimple(e, ast, r.template, parent: r));
return c.l1.map((e) => renderSimple(e, ast, r.template,
parent: r, getters: _invisibleGetters['int']));
},
),
'''));
Expand All @@ -148,7 +148,8 @@ class Baz {}
isNullValue: (CT_ c) => c.s1 == null,
renderValue:
(CT_ c, RendererBase<CT_> r, List<MustachioNode> ast) {
return renderSimple(c.s1, ast, r.template, parent: r);
return renderSimple(c.s1, ast, r.template,
parent: r, getters: _invisibleGetters['String']);
},
),
'''));
Expand Down

0 comments on commit 11e9648

Please sign in to comment.