From 107a184a81c7051d4f42693c084634a3fc61a8a1 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 17 Apr 2014 19:20:54 -0700 Subject: [PATCH] Fix test. --- format-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format-test.cc b/format-test.cc index fd33d673..babbb754 100644 --- a/format-test.cc +++ b/format-test.cc @@ -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");