From: Anatol Belski Date: Mon, 18 May 2015 20:29:01 +0000 (+0200) Subject: sync test with exception currently thrown X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~42^2~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8af0de914ff0093c46fa56ddfc7b6e6cc3895857;p=php sync test with exception currently thrown --- diff --git a/ext/intl/tests/dateformat_calendars_variant3.phpt b/ext/intl/tests/dateformat_calendars_variant3.phpt index 36a67e6f04..c420cc26e3 100644 --- a/ext/intl/tests/dateformat_calendars_variant3.phpt +++ b/ext/intl/tests/dateformat_calendars_variant3.phpt @@ -41,5 +41,8 @@ string(47) "Sunday, January 1, 2012 at 5:12:00 AM GMT+05:12" string(47) "Sunday, January 1, 2012 at 5:12:00 AM GMT+05:12" string(44) "Sunday, 6 Tevet 5772 at 5:12:00 AM GMT+05:12" -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 %sdateformat_calendars_variant%d.php on line %d -==DONE== +Fatal error: Uncaught IntlException: 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 C:\php-sdk\phpmaster\vc14\x64\php-src\ext\intl\tests\dateformat_calendars_variant3.php:27 +Stack trace: +#0 %sdateformat_calendars_variant3.php(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0, 0, 'GMT+05:12', -1) +#1 {main} + thrown %sdateformat_calendars_variant3.php on line %d