From a51e1c22a1194ab00e5ef32682d9f961475e7a32 Mon Sep 17 00:00:00 2001 From: "raymond.lam" Date: Sat, 6 May 2017 22:13:54 -0400 Subject: [PATCH] add test for renderability of Array.length via dot notation --- test/_files/dot_notation.mustache | 1 + test/_files/dot_notation.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/test/_files/dot_notation.mustache b/test/_files/dot_notation.mustache index 2640514..8b6b2e9 100644 --- a/test/_files/dot_notation.mustache +++ b/test/_files/dot_notation.mustache @@ -8,3 +8,4 @@

Zero: {{truthy.zero}}

False: {{truthy.notTrue}}

length of string should not be rendered: {{price.currency.name.length}}

+

length of an array should be rendered: {{authors.length}}

diff --git a/test/_files/dot_notation.txt b/test/_files/dot_notation.txt index eeb346d..98d2e6a 100644 --- a/test/_files/dot_notation.txt +++ b/test/_files/dot_notation.txt @@ -8,3 +8,4 @@

Zero: 0

False: false

length of string should not be rendered:

+

length of an array should be rendered: 2