Searched refs:expectedToken (Results 1 – 2 of 2) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | LexerTest.php | 66 $expectedToken = array_shift($expectedTokens); 68 $this->assertSame($expectedToken[0], $token->id); 69 $this->assertSame($expectedToken[1], $token->text);
|
/PHP-Parser/test/PhpParser/Lexer/ |
H A D | EmulativeTest.php | 22 public function testReplaceKeywords(string $keyword, int $expectedToken): void { argument 27 new Token($expectedToken, $keyword, 1, 6), 35 public function testReplaceKeywordsUppercase(string $keyword, int $expectedToken): void { argument 41 new Token($expectedToken, \strtoupper($keyword), 1, 6),
|
Completed in 5 milliseconds