Annotation of embedaddon/php/ext/tidy/tests/006.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Verbose tidy_get_error_buffer()
        !             3: --SKIPIF--
        !             4: <?php if (!extension_loaded("tidy")) print "skip"; ?>
        !             5: --FILE--
        !             6: <?php 
        !             7:        $a = tidy_parse_string("<HTML><asd asdf></HTML>");
        !             8:        echo tidy_get_error_buffer($a);
        !             9:        
        !            10: ?>
        !            11: --EXPECT--
        !            12: line 1 column 1 - Warning: missing <!DOCTYPE> declaration
        !            13: line 1 column 7 - Error: <asd> is not recognized!
        !            14: line 1 column 7 - Warning: discarding unexpected <asd>
        !            15: line 1 column 17 - Warning: discarding unexpected </html>
        !            16: line 1 column 7 - Warning: inserting missing 'title' element

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>