]> granicus.if.org Git - php/commitdiff
Make test independent of icu version
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 18 Mar 2019 11:14:33 +0000 (12:14 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 18 Mar 2019 11:14:58 +0000 (12:14 +0100)
We don't really care about the actual output here, just that it
doesn't fail.

ext/intl/tests/dateformat_bug65683_2.phpt

index 67d9d7884a5ca2cee365acda668624d40abb8b2e..1a709e4ae93fcbac940e545e3064af2ce50a8d17 100644 (file)
@@ -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"