summaryrefslogtreecommitdiff
path: root/tests/classes/factory_and_singleton_003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/factory_and_singleton_003.phpt')
-rw-r--r--tests/classes/factory_and_singleton_003.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/classes/factory_and_singleton_003.phpt b/tests/classes/factory_and_singleton_003.phpt
index 3d50a810a6..5dcb67a0c2 100644
--- a/tests/classes/factory_and_singleton_003.phpt
+++ b/tests/classes/factory_and_singleton_003.phpt
@@ -15,4 +15,7 @@ $obj = new test;
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to protected test::__construct() from invalid context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected test::__construct() from invalid context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d