com php-src: sync test with exception currently thrown: ext/intl/tests/dateformat_calendars_variant3.phpt
| From: | Anatol Belski | Date: | Mon, 18 May 2015 20:37:28 +0000 |
| Subject: | com php-src: sync test with exception currently thrown: ext/intl/tests/dateformat_calendars_variant3.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86791@lists.php.net to get a copy of this message | ||
Commit: 8af0de914ff0093c46fa56ddfc7b6e6cc3895857
Author: Anatol Belski <ab@php.net> Mon, 18 May 2015 22:29:01 +0200
Parents: d3515bdef03bc47df1abeda218542610a99672a1
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8af0de914ff0093c46fa56ddfc7b6e6cc3895857
Log:
sync test with exception currently thrown
Changed paths:
M ext/intl/tests/dateformat_calendars_variant3.phpt
Diff:
diff --git a/ext/intl/tests/dateformat_calendars_variant3.phpt
b/ext/intl/tests/dateformat_calendars_variant3.phpt
index 36a67e6..c420cc2 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