Relax test expectation

Since we're dealing with floating point numbers, precision issues may
hit us, and actually it's not necessary to check for the exact number
anyway, because it is not exact in the first place.  Therefore, we
relax the test expectations.
This commit is contained in:
Christoph M. Becker 2020-02-03 13:02:12 +01:00
parent c2935499b1
commit b93e4aa11c

View File

@ -13,6 +13,6 @@ var_dump($fmt->format(gmp_init('823749273428379492374')));
$fmt = new NumberFormatter('en_US', NumberFormatter::PATTERN_DECIMAL);
var_dump($fmt->format([1], NumberFormatter::TYPE_INT64));
?>
--EXPECT--
string(21) "823749273428379400000"
--EXPECTF--
string(21) "823749273428379%c%c%c%c%c%c"
string(1) "1"