mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 11:14:41 +00:00
Apply clang-format
This commit is contained in:
parent
60f5d24411
commit
f9e0e90441
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user