Index: tests/PathOpsExtendedTest.cpp |
diff --git a/tests/PathOpsExtendedTest.cpp b/tests/PathOpsExtendedTest.cpp |
index 5889ac428b5c16d943608fa5eb4d9f825c8dbed8..08fbc170eca8c66d3ed7bba18d47e228605462c2 100644 |
--- a/tests/PathOpsExtendedTest.cpp |
+++ b/tests/PathOpsExtendedTest.cpp |
@@ -553,12 +553,15 @@ bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& |
#if DEBUG_SHOW_TEST_NAME |
showName(a, b, shapeOp); |
#endif |
- SkPath out; |
+ SkPath orig; |
+ orig.lineTo(54, 43); |
+ SkPath out = orig; |
if (Op(a, b, shapeOp, &out) ) { |
SkDebugf("%s test is expected to fail\n", __FUNCTION__); |
REPORTER_ASSERT(reporter, 0); |
return false; |
} |
+ SkASSERT(out == orig); |
return true; |
} |