Detect string_view on libc++ (#686)
This commit is contained in:
1 parent
0ea70defbe
commit
6957d28cfb
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user