diff options
author | Brian Salomon <bsalomon@google.com> | 2018-01-29 09:50:47 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-29 15:17:09 +0000 |
commit | 1c80e99dd5b23ebc3f10c768857a21887ab9f090 (patch) | |
tree | 491fa16698ffb07569718ef49cbb7ac8f9562374 /tests/DrawPathTest.cpp | |
parent | 5effc281c70e111b3c5e9da9882c1981699af26f (diff) |
Allow printf style var args for messages in REPORTER_ASSERT.
Remove REPORTER_ASSERT_MESSAGE.
Change-Id: I6d00715901159c93e22d182fe24aac92b5fdbcf4
Reviewed-on: https://skia-review.googlesource.com/100361
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/DrawPathTest.cpp')
-rw-r--r-- | tests/DrawPathTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/DrawPathTest.cpp b/tests/DrawPathTest.cpp index 3893981c00..0682319a01 100644 --- a/tests/DrawPathTest.cpp +++ b/tests/DrawPathTest.cpp @@ -29,7 +29,7 @@ static void test_big_aa_rect(skiatest::Reporter* reporter) { if (surf->readPixels(output, x, y)) { REPORTER_ASSERT(reporter, 0 == pixel[0]); } else { - REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); + REPORTER_ASSERT(reporter, false, "readPixels failed"); } SkPaint paint; @@ -44,7 +44,7 @@ static void test_big_aa_rect(skiatest::Reporter* reporter) { // appear the same. REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); } else { - REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); + REPORTER_ASSERT(reporter, false, "readPixels failed"); } } |