forked from fmtlib/fmt
committed by
Jonathan Müller
parent
ae8ae747bd
commit
affac0bea0
@@ -1214,7 +1214,7 @@ TEST(FormatterTest, FormatIntLocale) {
|
|||||||
#else
|
#else
|
||||||
const char *locale = "English_United States";
|
const char *locale = "English_United States";
|
||||||
#endif
|
#endif
|
||||||
std::setlocale(LC_ALL, locale);
|
if (std::setlocale(LC_ALL, locale))
|
||||||
EXPECT_EQ("1,234,567", format("{:n}", 1234567));
|
EXPECT_EQ("1,234,567", format("{:n}", 1234567));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user