com php-src: fix hard-coded path in test: ext/intl/tests/datefo rmat_calendars_variant3.phpt
| From: | Ferenc Kovacs | Date: | Tue, 09 Jun 2015 14:42:02 +0000 |
| Subject: | com php-src: fix hard-coded path in test: ext/intl/tests/datefo rmat_calendars_variant3.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87126@lists.php.net to get a copy of this message | ||
Commit: 7ec3016e29c3e809b87c884b0036a16873c9387d
Author: Ferenc Kovacs <tyrael@php.net> Tue, 9 Jun 2015 16:42:02 +0200
Parents: 2d962af4c0c3972766a64887a370dda2126ac770
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7ec3016e29c3e809b87c884b0036a16873c9387d
Log:
fix hard-coded path in test
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 c420cc2..d5bdac7 100644
--- a/ext/intl/tests/dateformat_calendars_variant3.phpt
+++ b/ext/intl/tests/dateformat_calendars_variant3.phpt
@@ -41,7 +41,7 @@ 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"
-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
+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
%sdateformat_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}