public function StringInputStreamTest::testRemainingChars in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Parser/StringInputStreamTest.php \Masterminds\HTML5\Tests\Parser\StringInputStreamTest::testRemainingChars()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Parser/ StringInputStreamTest.php, line 115
Class
Namespace
Masterminds\HTML5\Tests\ParserCode
public function testRemainingChars() {
$text = "abcd";
$s = new StringInputStream($text);
$this
->assertEquals($text, $s
->remainingChars());
$text = "abcd";
$s = new StringInputStream($text);
$s
->next();
// Pop one.
$this
->assertEquals('bcd', $s
->remainingChars());
}