mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Fix test.
This commit is contained in:
parent
a07b51f7df
commit
107a184a81
@ -1434,7 +1434,7 @@ TEST(FormatterTest, Examples) {
|
|||||||
std::string path = "somefile";
|
std::string path = "somefile";
|
||||||
ReportError("File not found: {0}") << path;
|
ReportError("File not found: {0}") << path;
|
||||||
|
|
||||||
#ifdef FMT_USE_INITIALIZER_LIST
|
#if FMT_USE_INITIALIZER_LIST
|
||||||
EXPECT_THROW_MSG(
|
EXPECT_THROW_MSG(
|
||||||
Format("The answer is {:d}", "forty-two"), FormatError,
|
Format("The answer is {:d}", "forty-two"), FormatError,
|
||||||
"unknown format code 'd' for string");
|
"unknown format code 'd' for string");
|
||||||
|
Loading…
Reference in New Issue
Block a user