mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-29 18:27:40 +02:00
fix udl_compiled_string with non-byte chars (e.g. wchar) (#2242)
This commit is contained in:
@ -316,6 +316,7 @@ TEST(CompileTest, CompileFormatStringLiteral) {
|
||||
using namespace fmt::literals;
|
||||
EXPECT_EQ("", fmt::format(""_cf));
|
||||
EXPECT_EQ("42", fmt::format("{}"_cf, 42));
|
||||
EXPECT_EQ(L"42", fmt::format(L"{}"_cf, 42));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user