mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-03 19:30:47 +02:00
committed by
Jonathan Müller
parent
ae8ae747bd
commit
affac0bea0
+2
-2
@@ -1214,8 +1214,8 @@ TEST(FormatterTest, FormatIntLocale) {
|
||||
#else
|
||||
const char *locale = "English_United States";
|
||||
#endif
|
||||
std::setlocale(LC_ALL, locale);
|
||||
EXPECT_EQ("1,234,567", format("{:n}", 1234567));
|
||||
if (std::setlocale(LC_ALL, locale))
|
||||
EXPECT_EQ("1,234,567", format("{:n}", 1234567));
|
||||
}
|
||||
|
||||
TEST(FormatterTest, FormatFloat) {
|
||||
|
||||
Reference in New Issue
Block a user