Просмотр исходного кода

Add failing test For extra whitespace in nested partials.

Mike Sherov 11 лет назад
Родитель
Сommit
114477811c

+ 3 - 0
test/fixtures/examples/nested_partials/nested_partials.txt

@@ -3,5 +3,8 @@
     <third>
       FOURTH!
     </third>
+    <third>
+      FOURTH!FOURTH!
+    </third>
   </second>
 </first>

+ 1 - 0
test/fixtures/examples/nested_partials/partials/fourth_inline.mustache

@@ -0,0 +1 @@
+{{ val }}

+ 3 - 0
test/fixtures/examples/nested_partials/partials/third.mustache

@@ -1,3 +1,6 @@
 <third>
   {{> fourth }}
 </third>
+<third>
+  {{> fourth_inline }}{{> fourth_inline }}
+</third>