Parcourir la source

add test for renderability of Array.length via dot notation

pull/618/head
raymond.lam il y a 9 ans
Parent
révision
a51e1c22a1
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +1
    -0
      test/_files/dot_notation.mustache
  2. +1
    -0
      test/_files/dot_notation.txt

+ 1
- 0
test/_files/dot_notation.mustache Voir le fichier

@@ -8,3 +8,4 @@
<p>Zero: {{truthy.zero}}</p> <p>Zero: {{truthy.zero}}</p>
<p>False: {{truthy.notTrue}}</p> <p>False: {{truthy.notTrue}}</p>
<p>length of string should not be rendered: {{price.currency.name.length}}</p> <p>length of string should not be rendered: {{price.currency.name.length}}</p>
<p>length of an array should be rendered: {{authors.length}}</p>

+ 1
- 0
test/_files/dot_notation.txt Voir le fichier

@@ -8,3 +8,4 @@
<p>Zero: 0</p> <p>Zero: 0</p>
<p>False: false</p> <p>False: false</p>
<p>length of string should not be rendered: </p> <p>length of string should not be rendered: </p>
<p>length of an array should be rendered: 2</p>

Chargement…
Annuler
Enregistrer