Detect string_view on libc++ (#686)

This commit is contained in:
Victor Zverovich
2018-03-26 06:50:22 -10:00
parent 0ea70defbe
commit 6957d28cfb
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1201,7 +1201,7 @@ TEST(FormatterTest, FormatStringView) {
}
#ifdef FMT_USE_STD_STRING_VIEW
TEST(FormatterTest, FormatStringView) {
TEST(FormatterTest, FormatStdStringView) {
EXPECT_EQ("test", format("{0}", std::string_view("test")));
}
#endif