ソースを参照

add test to address #589 specifically

pull/618/head
raymond.lam 9年前
コミット
0e607fe9f5
3個のファイルの変更4行の追加1行の削除
  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 ファイルの表示

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

+ 1
- 0
test/_files/dot_notation.mustache ファイルの表示

@@ -8,4 +8,5 @@
<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 be rendered: {{price.currency.name.length}}</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> <p>length of an array should be rendered: {{authors.length}}</p>

+ 1
- 0
test/_files/dot_notation.txt ファイルの表示

@@ -8,4 +8,5 @@
<p>Zero: 0</p> <p>Zero: 0</p>
<p>False: false</p> <p>False: false</p>
<p>length of string should be rendered: 3</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> <p>length of an array should be rendered: 2</p>

読み込み中…
キャンセル
保存