Skip to content

Commit

Permalink
Make line in tests fit within 80chars
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski authored and vitaut committed Jul 21, 2018
1 parent 7b4f170 commit d778bde
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/format-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,11 @@ TEST(FormatTest, Dynamic) {
args.emplace_back(fmt::internal::make_arg<ctx>("abc1"));
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);
}

Expand Down

0 comments on commit d778bde

Please sign in to comment.