Index: base/i18n/number_formatting_unittest.cc |
diff --git a/base/i18n/number_formatting_unittest.cc b/base/i18n/number_formatting_unittest.cc |
index e6a54b5bf837106855f079194abddf57c7f68750..c7485d1d2b8d7caee99765ef77a758362b146eff 100644 |
--- a/base/i18n/number_formatting_unittest.cc |
+++ b/base/i18n/number_formatting_unittest.cc |
@@ -55,7 +55,10 @@ TEST(NumberFormattingTest, FormatDouble) { |
const char* expected_german; |
} cases[] = { |
{0.0, 0, "0", "0"}, |
+#if !defined(OS_ANDROID) |
+ // Bionic can't printf negative zero correctly. |
{-0.0, 4, "-0.0000", "-0,0000"}, |
+#endif |
{1024.2, 0, "1,024", "1.024"}, |
{-1024.223, 2, "-1,024.22", "-1.024,22"}, |
{std::numeric_limits<double>::max(), 6, |