From 6151d0dc1e7c0deb40a3a5d9e1ac3f506830555c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 14 Mar 2021 09:26:18 -0700 Subject: [PATCH] Fix the comment --- test/core-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/core-test.cc b/test/core-test.cc index b24d6635..6c395515 100644 --- a/test/core-test.cc +++ b/test/core-test.cc @@ -471,7 +471,7 @@ TEST(FormatDynArgsTest, NamedArgByRef) { fmt::dynamic_format_arg_store store; char band[] = "Rolling Stones"; store.push_back(fmt::arg("band", std::cref(band))); - band[9] = 'c'; // Changing str affects the output. + band[9] = 'c'; // Changing band affects the output. EXPECT_EQ(fmt::vformat("{band}", store), "Rolling Scones"); }