]> granicus.if.org Git - php/commitdiff
sync test with exception currently thrown
authorAnatol Belski <ab@php.net>
Mon, 18 May 2015 20:29:01 +0000 (22:29 +0200)
committerAnatol Belski <ab@php.net>
Mon, 18 May 2015 20:37:28 +0000 (22:37 +0200)
ext/intl/tests/dateformat_calendars_variant3.phpt

index 36a67e6f046288686df70d4a5f1865af88a149ca..c420cc26e33b1f27277152235a0fe67670bd63fd 100644 (file)
@@ -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