Apply clang-format

This commit is contained in:
Victor Zverovich 2021-03-10 12:08:02 -08:00
parent 60f5d24411
commit f9e0e90441

View File

@ -27,10 +27,9 @@ TEST(IteratorTest, TruncatingIterator) {
EXPECT_EQ(it.base(), p + 1); EXPECT_EQ(it.base(), p + 1);
} }
TEST(IteratorTest, TruncatingIteratorDefaultConstruct) { TEST(IteratorTest, TruncatingIteratorDefaultConstruct) {
static_assert( static_assert(std::is_default_constructible<
std::is_default_constructible<fmt::detail::truncating_iterator<char*>>::value, fmt::detail::truncating_iterator<char*>>::value,
""); "");
fmt::detail::truncating_iterator<char*> it; fmt::detail::truncating_iterator<char*> it;
@ -40,8 +39,8 @@ TEST(IteratorTest, TruncatingIteratorDefaultConstruct) {
#ifdef __cpp_lib_ranges #ifdef __cpp_lib_ranges
TEST(IteratorTest, TruncatingIteratorOutputIterator) { TEST(IteratorTest, TruncatingIteratorOutputIterator) {
static_assert(std::output_iterator<fmt::detail::truncating_iterator<char*>, static_assert(
char>); std::output_iterator<fmt::detail::truncating_iterator<char*>, char>);
} }
#endif #endif