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