Switch to C++ locale

This commit is contained in:
Victor Zverovich
2017-03-25 08:20:06 -07:00
parent b4f4b7e21a
commit 32ec13f149
3 changed files with 16 additions and 59 deletions
-14
View File
@@ -845,17 +845,3 @@ TEST(UtilTest, Conditional) {
fmt::internal::conditional<false, int, char>::type *pc = &c;
(void)pc;
}
struct TestLConv {
char *thousands_sep;
};
struct EmptyLConv {};
TEST(UtilTest, ThousandsSep) {
char foo[] = "foo";
TestLConv lc = {foo};
EXPECT_EQ("foo", fmt::internal::thousands_sep(&lc).to_string());
EmptyLConv empty_lc;
EXPECT_EQ("", fmt::internal::thousands_sep(&empty_lc));
}