From 8e451911c97feedc1e74503c4095f26e53919e99 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 30 Jun 2014 19:11:20 -0700 Subject: [PATCH] Fix a warning. --- test/util-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/util-test.cc b/test/util-test.cc index af78cd16..bceeaa49 100644 --- a/test/util-test.cc +++ b/test/util-test.cc @@ -238,7 +238,7 @@ TEST(UtilTest, FormatWinErrorMessage) { fmt::Writer actual_message; fmt::internal::FormatWinErrorMessage( actual_message, ERROR_FILE_EXISTS, "test"); - EXPECT_EQ(fmt::format("test: {}", fmt::str(utf8_message)), + EXPECT_EQ(fmt::format("test: {}", utf8_message.str()), actual_message.str()); }