com php-src: Make test independent of icu version: ext/intl/tes ts/dateformat_bug65683_2.phpt
| From: | Nikita Popov | Date: | Mon, 18 Mar 2019 11:14:58 +0000 |
| Subject: | com php-src: Make test independent of icu version: ext/intl/tes ts/dateformat_bug65683_2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105211@lists.php.net to get a copy of this message | ||
Commit: b3a669bec1e55ac0e58f84a620efe377f36ab1b3
Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 18 Mar 2019 12:14:33 +0100
Parents: 433758ceb3e11df184a87e8185fbd7f8b969fb79
Branches: PHP-7.2 PHP-7.3 PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b3a669bec1e55ac0e58f84a620efe377f36ab1b3
Log:
Make test independent of icu version
We don't really care about the actual output here, just that it
doesn't fail.
Changed paths:
M ext/intl/tests/dateformat_bug65683_2.phpt
Diff:
diff --git a/ext/intl/tests/dateformat_bug65683_2.phpt b/ext/intl/tests/dateformat_bug65683_2.phpt
index 67d9d78..1a709e4 100644
--- a/ext/intl/tests/dateformat_bug65683_2.phpt
+++ b/ext/intl/tests/dateformat_bug65683_2.phpt
@@ -7,6 +7,6 @@ $date_imm = date_create_immutable('1970-01-01');
var_dump(datefmt_format_object($date, null, 'fr_FR'));
var_dump(datefmt_format_object($date_imm, null, 'fr_FR'));
?>
---EXPECT--
-string(24) "1 janv. 1970 à 00:00:00"
-string(24) "1 janv. 1970 à 00:00:00"
+--EXPECTF--
+string(%d) "%s"
+string(%d) "%s"