public function EmailLexerTests::testLexerForTab in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailLexerTest.php \Egulias\EmailValidator\Tests\EmailLexerTests::testLexerForTab()
File
- vendor/
egulias/ email-validator/ tests/ egulias/ Tests/ EmailValidator/ EmailLexerTest.php, line 96
Class
Namespace
Egulias\EmailValidator\TestsCode
public function testLexerForTab() {
$lexer = new EmailLexer();
$lexer
->setInput("foo\tbar");
$lexer
->moveNext();
$lexer
->skipUntil(EmailLexer::S_HTAB);
$lexer
->moveNext();
$this
->assertEquals(EmailLexer::S_HTAB, $lexer->token['type']);
}