Commit bb93cf12 authored by Victor Zverovich's avatar Victor Zverovich

Add a test.

parent cb389f9a
......@@ -1808,6 +1808,9 @@ TEST(FormatterTest, Examples) {
"unknown format code 'd' for string");
EXPECT_EQ(L"Cyrillic letter \x42e",
str(Format(L"Cyrillic letter {}", L'\x42e')));
EXPECT_WRITE(stdout,
fmt::Print("{}", std::numeric_limits<double>::infinity()), "inf");
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment