Fix MSVC build, take 2

This commit is contained in:
Victor Zverovich
2018-07-04 14:24:07 -07:00
parent e928b6724c
commit 479ee2a8c6
9 changed files with 44 additions and 30 deletions
+2
View File
@@ -164,6 +164,8 @@ TEST(OStreamTest, Join) {
EXPECT_EQ("1, 2, 3", fmt::format("{}", fmt::join(v, v + 3, ", ")));
}
#if FMT_USE_CONSTEXPR
TEST(OStreamTest, ConstexprString) {
EXPECT_EQ("42", format(fmt("{}"), std::string("42")));
}
#endif