Skip to content

Commit

Permalink
Oops, fixing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevburnsjr committed Jun 13, 2011
1 parent 7d3f312 commit c2f1201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/MustacheTest.php
Expand Up @@ -153,7 +153,7 @@ public function testRenderWithPartials() {
*/
public function testRenderDelimitersInPartials() {
$m = new Mustache('{{>stache}}', null, array('stache' => '{{=<% %>=}}{{first_name}} {{last_name}}<%={{ }}=%>'));
$this->assertEquals('Charlie Chaplin', $m->render(null, array('first_name' => 'Charlie', 'last_name' => 'Chaplin')));
$this->assertEquals('{{first_name}} {{last_name}}', $m->render(null, array('first_name' => 'Charlie', 'last_name' => 'Chaplin')));
$this->assertEquals('{{first_name}} {{last_name}}', $m->render('{{last_name}}, {{first_name}}', array('first_name' => 'Frank', 'last_name' => 'Zappa')));
}

Expand Down

0 comments on commit c2f1201

Please sign in to comment.