Sfoglia il codice sorgente

add test to address #589 specifically

pull/618/head
raymond.lam 9 anni fa
parent
commit
0e607fe9f5
3 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +2
    -1
      test/_files/dot_notation.js
  2. +1
    -0
      test/_files/dot_notation.mustache
  3. +1
    -0
      test/_files/dot_notation.txt

+ 2
- 1
test/_files/dot_notation.js Vedi File

@@ -19,5 +19,6 @@
truthy: {
zero: 0,
notTrue: false
}
},
singletonList: [{singletonItem: "singleton item"}]
})

+ 1
- 0
test/_files/dot_notation.mustache Vedi File

@@ -8,4 +8,5 @@
<p>Zero: {{truthy.zero}}</p>
<p>False: {{truthy.notTrue}}</p>
<p>length of string should be rendered: {{price.currency.name.length}}</p>
<p>length of string in a list should be rendered: {{#singletonList}}{{singletonItem.length}}{{/singletonList}}</p>
<p>length of an array should be rendered: {{authors.length}}</p>

+ 1
- 0
test/_files/dot_notation.txt Vedi File

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

Loading…
Annulla
Salva