Skip to content

Commit

Permalink
More mailing tests for #46
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Mar 5, 2013
1 parent 3682eae commit 47ccd8c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/tests/Public/v6.0/GRMustacheSuites/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,20 @@
"data": { "present": "---" },
"template": " {{present}} \n {{missing}} \n {{missing}} \n {{missing}} \n {{present}} \n {{missing}} \n {{present}} \n",
"expected": " --- \n --- \n --- \n"
},
{
// first failing example from https://github.com/groue/GRMustache/issues/46#issuecomment-14354838
"name": "Prefixes of skipped lines do not pollute surrounding lines",
"data": { "present": "---" },
"template": "{{present}}\n {{missing}} \n{{present}}\n",
"expected": "---\n---\n"
},
{
// second failing example from https://github.com/groue/GRMustache/issues/46#issuecomment-14354838
"name": "Prefixes of skipped lines do not pollute surrounding lines",
"data": { "present": "---" },
"template": "{{missing}}\n...{{present}}...\n{{missing}}\n...{{present}}...\n{{missing}}\n",
"expected": "...---...\n...---...\n"
}
]
}

0 comments on commit 47ccd8c

Please sign in to comment.