| Index: tests/DrawPathTest.cpp
|
| diff --git a/tests/DrawPathTest.cpp b/tests/DrawPathTest.cpp
|
| index 72ec1581676f25a543e4e40e10dda1e8c3565ad9..f47b8c36363d31000b65c10091f8e89ab15185d1 100644
|
| --- a/tests/DrawPathTest.cpp
|
| +++ b/tests/DrawPathTest.cpp
|
| @@ -50,7 +50,7 @@ static void test_big_aa_rect(skiatest::Reporter* reporter) {
|
| if (canvas->readPixels(&output, x, y)) {
|
| REPORTER_ASSERT(reporter, 0 == pixel[0]);
|
| } else {
|
| - REPORTER_ASSERT(reporter, !"readPixels failed");
|
| + REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed");
|
| }
|
|
|
| SkPaint paint;
|
| @@ -65,7 +65,7 @@ static void test_big_aa_rect(skiatest::Reporter* reporter) {
|
| // appear the same.
|
| REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]);
|
| } else {
|
| - REPORTER_ASSERT(reporter, !"readPixels failed");
|
| + REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed");
|
| }
|
| surf->unref();
|
| }
|
|
|