diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp index 026694f3fc..088aff2328 100644 --- a/tests/ReadPixelsTest.cpp +++ b/tests/ReadPixelsTest.cpp @@ -205,7 +205,7 @@ bool checkRead(skiatest::Reporter* reporter, } } } - return failed; + return !failed; } enum BitmapInit {