Apply coding conventions and use constexpr

This commit is contained in:
Victor Zverovich
2025-03-02 08:02:14 -08:00
parent 864bdf9638
commit 9212ff6ca1
4 changed files with 30 additions and 32 deletions

View File

@@ -600,7 +600,7 @@ TEST(format_test, named_arg) {
format_error,
"cannot switch from manual to automatic argument indexing");
EXPECT_THROW_MSG((void)fmt::format("{a}", fmt::arg("a", 1),
fmt::arg("a", 10)), format_error, "duplicate named args found");
fmt::arg("a", 10)), format_error, "duplicate named arg");
}
TEST(format_test, auto_arg_index) {