summaryrefslogtreecommitdiff
path: root/ext/intl/tests/calendar_add_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/tests/calendar_add_error.phpt')
-rw-r--r--ext/intl/tests/calendar_add_error.phpt6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/intl/tests/calendar_add_error.phpt b/ext/intl/tests/calendar_add_error.phpt
index 0cc4abcf3f..b9e9cdce63 100644
--- a/ext/intl/tests/calendar_add_error.phpt
+++ b/ext/intl/tests/calendar_add_error.phpt
@@ -38,4 +38,8 @@ Warning: intlcal_add() expects exactly 3 parameters, 4 given in %s on line %d
Warning: intlcal_add(): intlcal_add: bad arguments in %s on line %d
bool(false)
-Fatal error: Argument 1 passed to intlcal_add() must be an instance of IntlCalendar, integer given in %s on line %d
+Fatal error: Uncaught TypeException: Argument 1 passed to intlcal_add() must be an instance of IntlCalendar, integer given in %s:%d
+Stack trace:
+#0 %s(%d): intlcal_add(1, 2, 3)
+#1 {main}
+ thrown in %s on line %d