Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 39f83f9

Browse files
committed
format
1 parent 8be33ff commit 39f83f9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

impeller/entity/contents/filters/gaussian_blur_filter_contents_unittests.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ TEST_P(GaussianBlurFilterContentsTest, RenderCoverageMatchesGetCoverage) {
134134
}
135135
}
136136

137-
TEST_P(GaussianBlurFilterContentsTest, RenderCoverageMatchesGetCoverageTranslate) {
137+
TEST_P(GaussianBlurFilterContentsTest,
138+
RenderCoverageMatchesGetCoverageTranslate) {
138139
TextureDescriptor desc = {
139140
.format = PixelFormat::kB8G8R8A8UNormInt,
140141
.size = ISize(100, 100),
@@ -160,7 +161,8 @@ TEST_P(GaussianBlurFilterContentsTest, RenderCoverageMatchesGetCoverageTranslate
160161
EXPECT_TRUE(contents_coverage.has_value());
161162
if (result_coverage.has_value() && contents_coverage.has_value()) {
162163
EXPECT_TRUE(RectNear(result_coverage.value(), contents_coverage.value()));
163-
EXPECT_TRUE(RectNear(result_coverage.value(), Rect::MakeLTRB(99, 199, 201, 301)));
164+
EXPECT_TRUE(
165+
RectNear(result_coverage.value(), Rect::MakeLTRB(99, 199, 201, 301)));
164166
}
165167
}
166168
}

impeller/geometry/geometry_asserts.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ inline ::testing::AssertionResult RectNear(impeller::Rect a, impeller::Rect b) {
5959
NumberNear(a.GetSize().height, b.GetSize().height);
6060

6161
return equal ? ::testing::AssertionSuccess()
62-
: ::testing::AssertionFailure() << "Rects are not equal (" << a << " " << b << ")";
62+
: ::testing::AssertionFailure()
63+
<< "Rects are not equal (" << a << " " << b << ")";
6364
}
6465

6566
inline ::testing::AssertionResult ColorNear(impeller::Color a,

0 commit comments

Comments
 (0)