ソースを参照

add test for renderability of Array.length via dot notation

pull/618/head
raymond.lam 9年前
コミット
a51e1c22a1
2個のファイルの変更2行の追加0行の削除
  1. +1
    -0
      test/_files/dot_notation.mustache
  2. +1
    -0
      test/_files/dot_notation.txt

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

@@ -8,3 +8,4 @@
<p>Zero: {{truthy.zero}}</p>
<p>False: {{truthy.notTrue}}</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 ファイルの表示

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

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