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/PathTest.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/PathTest.cpp')
-rw-r--r-- | tests/PathTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index 037bda781d..984ec41bcb 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -987,13 +987,13 @@ static void test_poly(skiatest::Reporter* reporter, const SkPath& path, srcPts++; break; case SkPath::kQuad_Verb: - REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected quad verb"); + REPORTER_ASSERT(reporter, false, "unexpected quad verb"); break; case SkPath::kConic_Verb: - REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected conic verb"); + REPORTER_ASSERT(reporter, false, "unexpected conic verb"); break; case SkPath::kCubic_Verb: - REPORTER_ASSERT_MESSAGE(reporter, false, "unexpected cubic verb"); + REPORTER_ASSERT(reporter, false, "unexpected cubic verb"); break; case SkPath::kClose_Verb: REPORTER_ASSERT(reporter, !firstTime); |