Fix FormatLongDouble test on PowerPC (#180)

This commit is contained in:
vitaut 2015-06-23 07:39:49 -07:00
parent 958299dd7f
commit 948317b6dd

View File

@ -1308,8 +1308,7 @@ TEST(FormatterTest, FormatLongDouble) {
char buffer[BUFFER_SIZE];
safe_sprintf(buffer, "%Le", 392.65l);
EXPECT_EQ(buffer, format("{0:e}", 392.65l));
safe_sprintf(buffer, "%LE", 392.65l);
EXPECT_EQ("+0000392.6", format("{0:+010.4g}", 392.65l));
EXPECT_EQ("+0000392.6", format("{0:+010.4g}", 392.64l));
}
TEST(FormatterTest, FormatChar) {