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/FontHostTest.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/FontHostTest.cpp')
-rw-r--r-- | tests/FontHostTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FontHostTest.cpp b/tests/FontHostTest.cpp index 3285198931..fc1b53d81c 100644 --- a/tests/FontHostTest.cpp +++ b/tests/FontHostTest.cpp @@ -107,7 +107,7 @@ static void test_charsToGlyphs(skiatest::Reporter* reporter, const sk_sp<SkTypef SkString a; a.appendf("%s, paintGlyphIds[%d] = %d, faceGlyphIds[%d] = %d, face = %s", test.name, i, (int)paintGlyphIds[i], i, (int)faceGlyphIds[i], name.c_str()); - REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str()); + REPORTER_ASSERT(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str()); } } } |