public function ScannerTest::testRemainingChars in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Parser/ScannerTest.php \Masterminds\HTML5\Tests\Parser\ScannerTest::testRemainingChars()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Parser/ ScannerTest.php, line 163 - Test the Scanner. This requires the InputStream tests are all good.
Class
Namespace
Masterminds\HTML5\Tests\ParserCode
public function testRemainingChars() {
$string = "\n45\n9867 #\nThis is a test.";
$s = new Scanner(new StringInputStream("1784a\n45\n9867 #\nThis is a test."));
$s
->getAsciiAlphaNum();
$this
->assertEquals($string, $s
->remainingChars());
}