Quellcode durchsuchen

add test to address #589 specifically

pull/618/head
raymond.lam vor 9 Jahren
Ursprung
Commit
0e607fe9f5
3 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

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

+ 1
- 0
test/_files/dot_notation.mustache Datei anzeigen

@@ -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 Datei anzeigen

@@ -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>

Laden…
Abbrechen
Speichern