summaryrefslogtreecommitdiff
path: root/ext/dom/tests/DOMNode_normalize_basic.phpt
diff options
context:
space:
mode:
authorAnt Phillips <ant@php.net>2008-12-01 11:30:39 +0000
committerAnt Phillips <ant@php.net>2008-12-01 11:30:39 +0000
commit0410026ac0725f25e10a946316cf8d5f98bc122f (patch)
tree87cf026dd384028df32c144cc5162add24f21425 /ext/dom/tests/DOMNode_normalize_basic.phpt
parent8786ee7ce0d7d855a1b41ad3a5e59507939542c7 (diff)
downloadphp-git-0410026ac0725f25e10a946316cf8d5f98bc122f.tar.gz
DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit).
Diffstat (limited to 'ext/dom/tests/DOMNode_normalize_basic.phpt')
-rw-r--r--ext/dom/tests/DOMNode_normalize_basic.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/dom/tests/DOMNode_normalize_basic.phpt b/ext/dom/tests/DOMNode_normalize_basic.phpt
index fce6b289bd..79f5294d63 100644
--- a/ext/dom/tests/DOMNode_normalize_basic.phpt
+++ b/ext/dom/tests/DOMNode_normalize_basic.phpt
@@ -1,15 +1,15 @@
--TEST--
-DomNode::normalize()
+normalize()
--SKIPIF--
<?php
include('skipif.inc');
?>
--FILE--
-<?php
+<?php
/* Create an XML document
* with structure
- * <book>
+ * <book>
* <author></author>
* <title>This is the title</title>
* </book>
@@ -57,8 +57,8 @@ echo "Number of child nodes of title after normalizing title = ";
var_dump($title->childNodes->length);
?>
---EXPECT--
+--EXPECTF--
Number of child nodes of title = int(1)
Number of child nodes of title after adding second title = int(2)
Number of child nodes of title after normalizing author = int(2)
-Number of child nodes of title after normalizing title = int(1)
+Number of child nodes of title after normalizing title = int(1) \ No newline at end of file