PhlyTest\Mustache\MustacheTest::testAlternateDelimitersSetInSectionOnlyApplyToThatSection PHP Method

testAlternateDelimitersSetInSectionOnlyApplyToThatSection() public method

    public function testAlternateDelimitersSetInSectionOnlyApplyToThatSection()
    {
        $test = $this->mustache->render('template-with-delim-set-in-section', array('content' => 'style', 'section' => array('name' => '-World'), 'postcontent' => 'P.S. Done'));
        $expected = <<<EOT
Some text with style
    -World
P.S. Done

EOT;
        $this->assertEquals($expected, $test);
    }
MustacheTest