Skip to content

Commit

Permalink
Fix the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Mar 14, 2021
1 parent 5a1127b commit 6151d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ TEST(FormatDynArgsTest, NamedArgByRef) {
fmt::dynamic_format_arg_store<fmt::format_context> 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");
}

Expand Down

0 comments on commit 6151d0d

Please sign in to comment.