diff options
author | Felipe Pena <felipe@php.net> | 2008-07-14 11:47:44 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-07-14 11:47:44 +0000 |
commit | 8a388f61a1369e017ab052c69ae341dd0977fd55 (patch) | |
tree | db5f207889dd9b1aa030346e3c86b5ab8d44c1a4 /ext/dom | |
parent | bc8b11ce0280a1aefa881e2198d01dd120e15001 (diff) | |
download | php-git-8a388f61a1369e017ab052c69ae341dd0977fd55.tar.gz |
- Fixed tests
Diffstat (limited to 'ext/dom')
-rw-r--r-- | ext/dom/tests/dom003.phpt | 6 | ||||
-rw-r--r-- | ext/dom/tests/dom_set_attr_node.phpt | 4 |
2 files changed, 5 insertions, 5 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 diff --git a/ext/dom/tests/dom_set_attr_node.phpt b/ext/dom/tests/dom_set_attr_node.phpt index dba8a1689d..05f8086e71 100644 --- a/ext/dom/tests/dom_set_attr_node.phpt +++ b/ext/dom/tests/dom_set_attr_node.phpt @@ -62,8 +62,8 @@ object(DOMException)#%d (7) { } } } - ["code"]=> - int(4) ["previous":"Exception":private]=> NULL + ["code"]=> + int(4) } |