| Index: tests/DataRefTest.cpp
|
| diff --git a/tests/DataRefTest.cpp b/tests/DataRefTest.cpp
|
| index b31bfcdd5cba8d8930f391f8db4dd9f339547574..6cd3ff568d1cd102949480332c0048b7e8c6e552 100644
|
| --- a/tests/DataRefTest.cpp
|
| +++ b/tests/DataRefTest.cpp
|
| @@ -186,9 +186,8 @@ static void test_files(skiatest::Reporter* reporter) {
|
| {
|
| SkFILEWStream writer(path.c_str());
|
| if (!writer.isValid()) {
|
| - SkString msg;
|
| - msg.printf("Failed to create tmp file %s\n", path.c_str());
|
| - reporter->reportFailed(msg);
|
| + REPORTF(reporter,
|
| + ("Failed to create tmp file %s\n", path.c_str()));
|
| return;
|
| }
|
| writer.write(s, 26);
|
|
|