Switch to C++ locale

This commit is contained in:
Victor Zverovich committed 2017-03-25 08:20:06 -07:00
1 parent b4f4b7e21a
commit 32ec13f149
3 files changed
+16 -59

No files matched your search

-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));
}