public function testLexerStripsUnwantedWhitespaceFromTokens()
{
$view = $this->getRecursiveView();
$test = $this->mustache->render('crazy_recursive', $view);
$expected = <<<EOT
<html>
<body>
<ul>
<li>
1
<ul>
<li>
2
<ul>
<li>
3
<ul>
</ul>
</li>
</ul>
</li>
<li>
4
<ul>
<li>
5
<ul>
<li>
6
<ul>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</body>
</html>
EOT;
$this->assertEquals($expected, $test);
}