mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 03:07:36 +02:00
Fix warning in clang
This commit is contained in:
@ -106,6 +106,7 @@ TEST(FormatTest, FormatErrorCode) {
|
|||||||
fmt::internal::INLINE_BUFFER_SIZE - msg.size() - sep.size(), 'x');
|
fmt::internal::INLINE_BUFFER_SIZE - msg.size() - sep.size(), 'x');
|
||||||
format_error_code(w, 42, prefix);
|
format_error_code(w, 42, prefix);
|
||||||
EXPECT_EQ(prefix + sep + msg, w.str());
|
EXPECT_EQ(prefix + sep + msg, w.str());
|
||||||
EXPECT_EQ(fmt::internal::INLINE_BUFFER_SIZE, w.size());
|
std::size_t size = fmt::internal::INLINE_BUFFER_SIZE;
|
||||||
|
EXPECT_EQ(size, w.size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user