Selaa lähdekoodia

Add spec for empty string (issue #94)

tags/0.5.1
Michael Jackson 14 vuotta sitten
vanhempi
commit
fd0f5cf496
3 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. +6
    -0
      spec/_files/empty_string.js
  2. +1
    -0
      spec/_files/empty_string.mustache
  3. +1
    -0
      spec/_files/empty_string.txt

+ 6
- 0
spec/_files/empty_string.js Näytä tiedosto

@@ -0,0 +1,6 @@
var empty_string = {
description: "That is all!",
child: {
description: ""
}
};

+ 1
- 0
spec/_files/empty_string.mustache Näytä tiedosto

@@ -0,0 +1 @@
{{description}}{{#child}}{{description}}{{/child}}

+ 1
- 0
spec/_files/empty_string.txt Näytä tiedosto

@@ -0,0 +1 @@
That is all!

Loading…
Peruuta
Tallenna