summaryrefslogtreecommitdiff
path: root/ext/dom/tests/domdocument_createcomment_error_001.phpt
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2010-03-09 11:57:54 +0100
committerOndřej Surý <ondrej@sury.org>2010-03-09 11:57:54 +0100
commit855a09f4eded707941180c9d90acd17c25e29447 (patch)
treea40947efaa9876f31b6ee3956c3f3775768143bb /ext/dom/tests/domdocument_createcomment_error_001.phpt
parentc852c28a88fccf6e34a2cb091fdfa72bce2b59c7 (diff)
downloadphp-upstream/5.3.2.tar.gz
Imported Upstream version 5.3.2upstream/5.3.2
Diffstat (limited to 'ext/dom/tests/domdocument_createcomment_error_001.phpt')
-rw-r--r--ext/dom/tests/domdocument_createcomment_error_001.phpt7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/dom/tests/domdocument_createcomment_error_001.phpt b/ext/dom/tests/domdocument_createcomment_error_001.phpt
index 5df4e2047..24104a1a0 100644
--- a/ext/dom/tests/domdocument_createcomment_error_001.phpt
+++ b/ext/dom/tests/domdocument_createcomment_error_001.phpt
@@ -2,10 +2,15 @@
DomDocument::CreateComment() - Incorrect Parameters
--CREDITS--
Clint Priest @ PhpTek09
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$x = new DomDocument();
$x->createComment();
?>
+===DONE===
--EXPECTF--
-Warning: DOMDocument::createComment() expects exactly 1 parameter, 0 given in %s \ No newline at end of file
+Warning: DOMDocument::createComment() expects exactly 1 parameter, 0 given in %s
+===DONE===
+ \ No newline at end of file