public function OutputRulesTest::testNl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Serializer/OutputRulesTest.php \Masterminds\HTML5\Tests\Serializer\OutputRulesTest::testNl()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Serializer/ OutputRulesTest.php, line 358
Class
Namespace
Masterminds\HTML5\Tests\SerializerCode
public function testNl() {
list($o, $s) = $this
->getOutputRules();
$m = $this
->getProtectedMethod('nl');
$m
->invoke($o);
$this
->assertEquals(PHP_EOL, stream_get_contents($s, -1, 0));
}