summaryrefslogtreecommitdiff
path: root/ext/dom/tests/dom003.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-03-29 20:54:13 +0000
committerMarcus Boerger <helly@php.net>2004-03-29 20:54:13 +0000
commit4dc6fe7f62d56f27fc499414d37d5ef53e2569d8 (patch)
treeb1d4748f40ccdd19cb90e1b5755b92807080b08d /ext/dom/tests/dom003.phpt
parentb6321d4e8aae3a25cc8a85829ea7b754021698d7 (diff)
downloadphp-git-4dc6fe7f62d56f27fc499414d37d5ef53e2569d8.tar.gz
Fix tests
Diffstat (limited to 'ext/dom/tests/dom003.phpt')
-rw-r--r--ext/dom/tests/dom003.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/dom003.phpt b/ext/dom/tests/dom003.phpt
index 40ddb1f775..e3aa26e05c 100644
--- a/ext/dom/tests/dom003.phpt
+++ b/ext/dom/tests/dom003.phpt
@@ -21,13 +21,13 @@ $rootNode->appendChild($rootNode);
?>
--EXPECTF--
--- Catch exception with try/catch
-object(domexception)#%d (6) {
+object(DOMException)#%d (6) {
["code"]=>
int(3)
}
--- Don't catch exception with try/catch
-Fatal error: Uncaught exception 'domexception' with message 'Hierarchy Request Error' in %sdom003.php:%d
+Fatal error: Uncaught exception 'DOMException' with message 'Hierarchy Request Error' in %sdom003.php:%d
Stack trace:
#0 {main}
thrown in %sdom003.php on line %d