Annotation of embedaddon/php/ext/dom/tests/domdocument_createcomment_error_001.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: DomDocument::CreateComment() - Incorrect Parameters
                      3: --CREDITS--
                      4: Clint Priest @ PhpTek09
                      5: --SKIPIF--
                      6: <?php require_once('skipif.inc'); ?>
                      7: --FILE--
                      8: <?php
                      9:        $x = new DomDocument();
                     10:        $x->createComment();
                     11: ?>
                     12: ===DONE===
                     13: --EXPECTF--
                     14: Warning: DOMDocument::createComment() expects exactly 1 parameter, 0 given in %s
                     15: ===DONE===
                     16:        

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