summaryrefslogtreecommitdiff
path: root/ext/dom/tests/DOMDocument_saveHTMLFile_error2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/tests/DOMDocument_saveHTMLFile_error2.phpt')
-rw-r--r--ext/dom/tests/DOMDocument_saveHTMLFile_error2.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/dom/tests/DOMDocument_saveHTMLFile_error2.phpt b/ext/dom/tests/DOMDocument_saveHTMLFile_error2.phpt
index 33e07c641d..2ef17926aa 100644
--- a/ext/dom/tests/DOMDocument_saveHTMLFile_error2.phpt
+++ b/ext/dom/tests/DOMDocument_saveHTMLFile_error2.phpt
@@ -12,4 +12,7 @@ require_once dirname(__FILE__) .'/skipif.inc';
DOMDocument::saveHTMLFile();
?>
--EXPECTF--
-Fatal error: Non-static method DOMDocument::saveHTMLFile() cannot be called statically in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method DOMDocument::saveHTMLFile() cannot be called statically' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d