summaryrefslogtreecommitdiff
path: root/ext/dom/tests/dom003.phpt
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-07-14 11:47:44 +0000
committerFelipe Pena <felipe@php.net>2008-07-14 11:47:44 +0000
commit8a388f61a1369e017ab052c69ae341dd0977fd55 (patch)
treedb5f207889dd9b1aa030346e3c86b5ab8d44c1a4 /ext/dom/tests/dom003.phpt
parentbc8b11ce0280a1aefa881e2198d01dd120e15001 (diff)
downloadphp-git-8a388f61a1369e017ab052c69ae341dd0977fd55.tar.gz
- Fixed tests
Diffstat (limited to 'ext/dom/tests/dom003.phpt')
-rw-r--r--ext/dom/tests/dom003.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dom/tests/dom003.phpt b/ext/dom/tests/dom003.phpt
index 58ab6cec02..1fae569085 100644
--- a/ext/dom/tests/dom003.phpt
+++ b/ext/dom/tests/dom003.phpt
@@ -21,7 +21,7 @@ $rootNode->appendChild($rootNode);
?>
--EXPECTF--
--- Catch exception with try/catch
-object(DOMException)#%d (6) {
+object(DOMException)#%d (%d) {
["message":protected]=>
string(23) "Hierarchy Request Error"
["string":"Exception":private]=>
@@ -52,10 +52,10 @@ object(DOMException)#%d (6) {
}
}
}
- ["code"]=>
- int(3)
["previous":"Exception":private]=>
NULL
+ ["code"]=>
+ int(3)
}
--- Don't catch exception with try/catch