Commit 7f622c11 authored by Victor Zverovich's avatar Victor Zverovich

Test example.

parent c22c26ed
......@@ -1433,6 +1433,10 @@ TEST(FormatterTest, Examples) {
std::string path = "somefile";
ReportError("File not found: {0}") << path;
EXPECT_THROW_MSG(
Format("The answer is {:d}", "forty-two"), FormatError,
"unknown format code 'd' for string");
}
TEST(FormatIntTest, Data) {
......
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