remove changes in test compared to master since they don't relate to the code changes directly

This commit is contained in:
rimathia 2020-11-12 17:19:14 +01:00
parent ca357195db
commit b8253f967e

View File

@ -617,14 +617,12 @@ TEST(PrintfTest, PrintfDetermineOutputSize) {
const auto format_string = "%s";
const auto format_arg = "Hello";
const auto expected_size = 5;
const auto expected_size = fmt::sprintf(format_string, format_arg).size();
EXPECT_EQ(expected_size, fmt::sprintf(format_string, format_arg).size());
EXPECT_EQ(expected_size,
(truncated_printf_context(
EXPECT_EQ((truncated_printf_context(
fmt::detail::truncating_iterator<backit>(it, 0), format_string,
fmt::make_format_args<truncated_printf_context>(format_arg))
.format()
.count()));
.count()),
expected_size);
}