From 3667d81eb3a0a3ab46249c37561f3d7ddc2045ab Mon Sep 17 00:00:00 2001 From: Patrick Steele-Idem Date: Mon, 8 Feb 2016 22:51:37 -0700 Subject: [PATCH] Marko v3: Fixed tests --- test/fixtures/codegen/autotest/marko-template/index.js | 2 +- test/fixtures/pretty-print/autotest/marko-template/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixtures/codegen/autotest/marko-template/index.js b/test/fixtures/codegen/autotest/marko-template/index.js index 40881cc07..4a897dda3 100644 --- a/test/fixtures/codegen/autotest/marko-template/index.js +++ b/test/fixtures/codegen/autotest/marko-template/index.js @@ -15,7 +15,7 @@ module.exports = function(builder) { html('data.name'), text(literal('!')), ifStatement( - functionCall('notEmpty', 'data.colors'), + functionCall('notEmpty', ['data.colors']), [ htmlElement('ul', [ diff --git a/test/fixtures/pretty-print/autotest/marko-template/index.js b/test/fixtures/pretty-print/autotest/marko-template/index.js index 42acdff1f..24998ab14 100644 --- a/test/fixtures/pretty-print/autotest/marko-template/index.js +++ b/test/fixtures/pretty-print/autotest/marko-template/index.js @@ -23,7 +23,7 @@ module.exports = function(builder) { html('data.name'), text(literal('!')), ifStatement( - functionCall('notEmpty', 'data.colors'), + functionCall('notEmpty', ['data.colors']), [ htmlElement(