aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GeometryTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GeometryTest.cpp')
-rw-r--r--tests/GeometryTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/GeometryTest.cpp b/tests/GeometryTest.cpp
index 7cee730d47..9a0f78f4a7 100644
--- a/tests/GeometryTest.cpp
+++ b/tests/GeometryTest.cpp
@@ -26,9 +26,8 @@ static void testChopCubic(skiatest::Reporter* reporter) {
};
SkPoint dst[13];
SkScalar tValues[3];
+ // make sure we don't assert internally
int count = SkChopCubicAtMaxCurvature(src, dst, tValues);
- // if we successfully collaps duplicate t-values, we should only get 2 segments
- REPORTER_ASSERT(reporter, 2 == count);
}