diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PathTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index 4bd4538f1a..2ec54d79fa 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -3657,7 +3657,8 @@ DEF_TEST(Paths, reporter) { p.addRoundRect(bounds, SK_Scalar1, SK_Scalar1); check_convex_bounds(reporter, p, bounds); // we have quads or cubics - REPORTER_ASSERT(reporter, p.getSegmentMasks() & kCurveSegmentMask); + REPORTER_ASSERT(reporter, + p.getSegmentMasks() & (kCurveSegmentMask | SkPath::kConic_SegmentMask)); REPORTER_ASSERT(reporter, !p.isEmpty()); p.reset(); |