Skip to content

Commit b93e4aa

Browse files
committed
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.
1 parent c293549 commit b93e4aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/intl/tests/bug79212.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ var_dump($fmt->format(gmp_init('823749273428379492374')));
1313
$fmt = new NumberFormatter('en_US', NumberFormatter::PATTERN_DECIMAL);
1414
var_dump($fmt->format([1], NumberFormatter::TYPE_INT64));
1515
?>
16-
--EXPECT--
17-
string(21) "823749273428379400000"
16+
--EXPECTF--
17+
string(21) "823749273428379%c%c%c%c%c%c"
1818
string(1) "1"

0 commit comments

Comments
 (0)