Adding better block detection

Pulled the block finding code into its own function to eliminate a
recursion problem.

Test failure count dropped because lambdas are supported and I just
needed to update the spec.  Pull request mustache/spec#86 aims to add
bash support.  Until then, the testing script will fall back to using
perl.

34 failing tests
This commit is contained in:
Tyler Akins
2015-01-26 12:51:28 -06:00
parent 734529d6ed
commit 5aa22680f5
10 changed files with 146 additions and 65 deletions

View File

@@ -1,6 +1,3 @@
<b>resque</b>
<b>hub</b>
<b>rip</b>

View File

@@ -1,2 +1,2 @@
<b>
Willy is awesome.</b>
<b> Willy is awesome.
</b>

View File

@@ -1,3 +1,2 @@
No repos :(

View File

@@ -1,5 +1,4 @@
jwerle is male
apple is red
tobi is cool

View File

@@ -1 +0,0 @@
person=Jon

View File

@@ -1,2 +0,0 @@
Hi Jon!

View File

@@ -1,3 +0,0 @@
{{#person}}
Hi {{.}}!
{{/person}}

View File

@@ -1,3 +1,3 @@
<h2>Names</h2>
<strong>Tyler</strong>

View File

@@ -1,4 +1,3 @@
Hello Chris
You have just won 10000 dollars!
Well, 6000 dollars, after taxes.