lithium\tests\cases\analysis\ParserTest::testParserGuessesLineBleed PHP Method

testParserGuessesLineBleed() public method

    public function testParserGuessesLineBleed()
    {
        $code = <<<EOD
if (false) {
\treturn true;
}
EOD;
        $tokens = Parser::tokenize($code);
        $this->assertIdentical('}', $tokens[13]['content']);
        $this->assertIdentical(3, $tokens[13]['line']);
    }