diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-03 13:02:12 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-03 13:03:54 +0100 |
commit | b93e4aa11c409ae34c9088ba976117438fc80b9c (patch) | |
tree | 6335ff0f4b0b0bfbf3780aebd31e8d60f2cf542a | |
parent | c2935499b14ee605452016ea00f3c0a94c0a1943 (diff) | |
download | php-git-b93e4aa11c409ae34c9088ba976117438fc80b9c.tar.gz |
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.
-rw-r--r-- | ext/intl/tests/bug79212.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/tests/bug79212.phpt b/ext/intl/tests/bug79212.phpt index 0f7897acc4..3d2083013b 100644 --- a/ext/intl/tests/bug79212.phpt +++ b/ext/intl/tests/bug79212.phpt @@ -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" |