]> granicus.if.org Git - php/commitdiff
- Fixed tests
authorFelipe Pena <felipe@php.net>
Mon, 14 Jul 2008 12:33:25 +0000 (12:33 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 14 Jul 2008 12:33:25 +0000 (12:33 +0000)
ext/dom/tests/dom003.phpt
ext/dom/tests/dom_set_attr_node.phpt

index 4ad7232623ac23bd73a66e640233588f22806852..6c7db74906cb80485745a1f46e2b9999079d4fe4 100644 (file)
@@ -21,7 +21,7 @@ $rootNode->appendChild($rootNode);
 ?>
 --EXPECTF--
 --- Catch exception with try/catch
-object(DOMException)#%d (6) {
+object(DOMException)#%d (%d) {
   [u"message":protected]=>
   unicode(23) "Hierarchy Request Error"
   [u"string":u"Exception":private]=>
@@ -52,6 +52,8 @@ object(DOMException)#%d (6) {
       }
     }
   }
+  [u"previous":u"Exception":private]=>
+  NULL
   [u"code"]=>
   int(3)
 }
index 3aad57145bef066bb8c2e6c3c547537b8d60dfcf..f0f9f34c7feada1ceb38e85a2248e53ebd0e2c4f 100644 (file)
@@ -31,7 +31,7 @@ try {
 
 ?>
 --EXPECTF--
-object(DOMException)#%d (6) {
+object(DOMException)#%d (%d) {
   [u"message":protected]=>
   unicode(20) "Wrong Document Error"
   [u"string":u"Exception":private]=>
@@ -62,6 +62,8 @@ object(DOMException)#%d (6) {
       }
     }
   }
+  [u"previous":u"Exception":private]=>
+  NULL
   [u"code"]=>
   int(4)
 }