You are here

public function EmailLexerTests::testLexerSearchToken in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailLexerTest.php \Egulias\EmailValidator\Tests\EmailLexerTests::testLexerSearchToken()

File

vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailLexerTest.php, line 117

Class

EmailLexerTests

Namespace

Egulias\EmailValidator\Tests

Code

public function testLexerSearchToken() {
  $lexer = new EmailLexer();
  $lexer
    ->setInput("foo\tbar");
  $lexer
    ->moveNext();
  $this
    ->assertTrue($lexer
    ->find(EmailLexer::S_HTAB));
}