public function StringInputStreamTest::testPeek in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/masterminds/html5/test/HTML5/Parser/StringInputStreamTest.php \Masterminds\HTML5\Tests\Parser\StringInputStreamTest::testPeek()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Parser/ StringInputStreamTest.php, line 39
Class
Namespace
Masterminds\HTML5\Tests\ParserCode
public function testPeek() {
$s = new StringInputStream("abc");
$this
->assertEquals('b', $s
->peek());
$s
->next();
$this
->assertEquals('c', $s
->peek());
}