From 0e384b473bd71ffac3bd0ae22c8d5f0c4add9de1 Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Fri, 11 Oct 2002 14:02:59 +0000 Subject: [PATCH] text and comment nodes do not have children... test was wrong, implementation is right :) --- ext/domxml/tests/001.phpt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ext/domxml/tests/001.phpt b/ext/domxml/tests/001.phpt index a5b01e5e7b..300c696869 100644 --- a/ext/domxml/tests/001.phpt +++ b/ext/domxml/tests/001.phpt @@ -106,7 +106,7 @@ Node Content: Node Name: #comment Node Type: 8 -Num Children: 1 +Num Children: 0 Node Content: lsfj Node Name: chapter @@ -126,7 +126,7 @@ Node Content: Title Node Name: #text Node Type: 3 -Num Children: 1 +Num Children: 0 Node Content: @@ -136,14 +136,14 @@ Num Children: 7 Node Name: #text Node Type: 3 -Num Children: 1 +Num Children: 0 Node Content: --------- last Node Name: #text Node Type: 3 -Num Children: 1 +Num Children: 0 Node Content: @@ -160,7 +160,7 @@ Node Content: Title Node Name: #text Node Type: 3 -Num Children: 1 +Num Children: 0 Node Content: @@ -170,7 +170,7 @@ Num Children: 7 Node Name: #text Node Type: 3 -Num Children: 1 +Num Children: 0 Node Content: @@ -193,7 +193,7 @@ Node Content: en --------- children of an attribute Node Name: #text Node Type: 3 -Num Children: 1 +Num Children: 0 Node Content: en --------- Add child to root @@ -249,7 +249,7 @@ Node Content: Title Node Name: #text Node Type: 3 -Num Children: 1 +Num Children: 0 Node Content: @@ -259,7 +259,7 @@ Num Children: 7 Node Name: #text Node Type: 3 -Num Children: 1 +Num Children: 0 Node Content: -- 2.40.0