Skip to content

Commit 2afca9f

Browse files
committed
Fixed test
1 parent 1018f46 commit 2afca9f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ext/intl/tests/dateformat_calendars.phpt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,8 @@ string(44) "Sunday, January 1, 2012 5:12:00 AM GMT+05:12"
4141
string(44) "Sunday, January 1, 2012 5:12:00 AM GMT+05:12"
4242
string(42) "Sunday, Tevet 6, 5772 5:12:00 AM GMT+05:12"
4343

44-
Warning: IntlDateFormatter::__construct(): datefmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (locale's default calendar) or IntlDateFormatter::GREGORIAN. Alternatively, it can be an IntlCalendar object in %s on line %d
45-
==DONE==
44+
Fatal error: Uncaught exception 'IntlException' with message 'IntlDateFormatter::__construct(): datefmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (locale's default calendar) or IntlDateFormatter::GREGORIAN. Alternatively, it can be an IntlCalendar object' in %sdateformat_calendars.php:%d
45+
Stack trace:
46+
#0 %sdateformat_calendars.php(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0, 0, 'GMT+05:12', -1)
47+
#1 {main}
48+
thrown in %sdateformat_calendars.php on line %d

0 commit comments

Comments
 (0)