Skip to content

Commit ec27727

Browse files
bderodnfield
authored andcommitted
Correct polyline bounds test (flutter#64)
1 parent 74dff11 commit ec27727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impeller/geometry/geometry_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ TEST(GeometryTest, PolylineGetContourPointBoundsReturnsCorrectRanges) {
856856
TEST(GeometryTest, PolylineGetContourOutOfBoundsAborts) {
857857
Path::Polyline polyline =
858858
PathBuilder{}.AddLine({100, 100}, {200, 100}).TakePath().CreatePolyline();
859-
ASSERT_EQ(polyline.GetContourPointBounds(0), std::make_tuple(2u, 2u));
859+
ASSERT_EQ(polyline.GetContourPointBounds(0), std::make_tuple(0u, 2u));
860860
ASSERT_EQ(polyline.GetContourPointBounds(14), std::make_tuple(2u, 2u));
861861
}
862862

0 commit comments

Comments
 (0)