summaryrefslogtreecommitdiff
path: root/tests/classes/destructor_visibility_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/destructor_visibility_001.phpt')
-rw-r--r--tests/classes/destructor_visibility_001.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/classes/destructor_visibility_001.phpt b/tests/classes/destructor_visibility_001.phpt
index 7674c512f6..0b3a3aa7d0 100644
--- a/tests/classes/destructor_visibility_001.phpt
+++ b/tests/classes/destructor_visibility_001.phpt
@@ -21,4 +21,7 @@ unset($obj);
?>
===DONE===
--EXPECTF--
-Fatal error: Call to private Derived::__destruct() from context '' in %sdestructor_visibility_001.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private Derived::__destruct() from context ''' in %sdestructor_visibility_001.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sdestructor_visibility_001.php on line %d