mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Make line in tests fit within 80chars
This commit is contained in:
parent
7b4f170c94
commit
d778bded95
@ -1323,7 +1323,11 @@ TEST(FormatTest, Dynamic) {
|
|||||||
args.emplace_back(fmt::internal::make_arg<ctx>("abc1"));
|
args.emplace_back(fmt::internal::make_arg<ctx>("abc1"));
|
||||||
args.emplace_back(fmt::internal::make_arg<ctx>(1.2f));
|
args.emplace_back(fmt::internal::make_arg<ctx>(1.2f));
|
||||||
|
|
||||||
std::string result = fmt::vformat("{} and {} and {}", fmt::basic_format_args<ctx>(args.data(), (unsigned)args.size()));
|
std::string result = fmt::vformat("{} and {} and {}",
|
||||||
|
fmt::basic_format_args<ctx>(
|
||||||
|
args.data(),
|
||||||
|
static_cast<unsigned>(args.size())));
|
||||||
|
|
||||||
EXPECT_EQ("42 and abc1 and 1.2", result);
|
EXPECT_EQ("42 and abc1 and 1.2", result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user