htmlgen\test\HtmlTest::test_html_doctype_element PHP Method

test_html_doctype_element() public method

    public function test_html_doctype_element()
    {
        $expected = '<!doctype html>';
        $actual = (string) html('doctype', 'ignored', 'children');
        $this->assertSame($expected, $actual);
    }