Fix wide print overload (#1609)
This commit is contained in:
1 parent
2864e8432a
commit
80ce222ca6
2 files changed
+12
-9
No files matched your search
@@ -1757,6 +1757,8 @@ TEST(FormatTest, Print) {
|
||||
EXPECT_WRITE(stderr, fmt::print(stderr, "Don't {}!", "panic"),
|
||||
"Don't panic!");
|
||||
#endif
|
||||
// Check that the wide print overload compiles.
|
||||
if (fmt::internal::const_check(false)) fmt::print(L"test");
|
||||
}
|
||||
|
||||
TEST(FormatTest, Variadic) {
|
||||
|
||||
Reference in new issue
Block a user