From adecc80459d5621d512bafee1912236af98cbb87 Mon Sep 17 00:00:00 2001 From: Eyal Teutsch Date: Thu, 10 Mar 2011 13:25:19 +0000 Subject: [PATCH] fixed tests to match the new float precision of 53, as described in bug 47168 --- ext/standard/tests/strings/printf.phpt | 4 ++-- ext/standard/tests/strings/sprintf_variation52.phpt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/standard/tests/strings/printf.phpt b/ext/standard/tests/strings/printf.phpt index b2ec7b3a89e..d989d6a42a6 100755 --- a/ext/standard/tests/strings/printf.phpt +++ b/ext/standard/tests/strings/printf.phpt @@ -670,8 +670,8 @@ Array *** Output for precision value more than maximum *** -Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of 40 digits in %s on line %d -12345678900.0000000000000000000000000000000000000000 +Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of 53 digits in %s on line %d +12345678900.00000000000000000000000000000000000000000000000000000 *** Output for invalid width(-15) specifier *** 15s diff --git a/ext/standard/tests/strings/sprintf_variation52.phpt b/ext/standard/tests/strings/sprintf_variation52.phpt index 6155c9ec518..996434fef4e 100644 --- a/ext/standard/tests/strings/sprintf_variation52.phpt +++ b/ext/standard/tests/strings/sprintf_variation52.phpt @@ -48,7 +48,7 @@ string(1) "%" -- Testing for precision value more than maximum -- Notice: sprintf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %s on line %d -string(52) "12345678900.0000000000000000000000000000000000000000" +string(65) "12345678900.00000000000000000000000000000000000000000000000000000" -- Testing for invalid width(-15) specifier -- string(3) "15s"