mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-05 12:04:11 +02:00
Implement UTF-8 string support
This commit is contained in:
@@ -2430,3 +2430,7 @@ TEST(FormatTest, U8StringViewLiteral) {
|
||||
EXPECT_EQ(data[1], 'b');
|
||||
}
|
||||
#endif
|
||||
|
||||
TEST(FormatTest, FormatU8String) {
|
||||
EXPECT_EQ(format(fmt::u8string_view("{}"), 42), fmt::u8string_view("42"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user