mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-05 12:04:11 +02:00
Detect string_view on libc++ (#686)
This commit is contained in:
+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