diff options
author | halcanary <halcanary@google.com> | 2016-02-24 17:59:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-24 17:59:16 -0800 |
commit | 7d57124a2a9ed7b271568fb75b3cfd949fdb313a (patch) | |
tree | 34a0d37411771ccceb3dc4537a19c8360e1f5cfb /tests/StreamTest.cpp | |
parent | 8e9f5e39d774198a5a5d9345bc9f863e855c593b (diff) |
Unit Tests: eliminate stray SkDebugf()s.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1733113002
Review URL: https://codereview.chromium.org/1733113002
Diffstat (limited to 'tests/StreamTest.cpp')
-rw-r--r-- | tests/StreamTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp index 2a60a7b10f..a3df8d71bb 100644 --- a/tests/StreamTest.cpp +++ b/tests/StreamTest.cpp @@ -164,9 +164,8 @@ static void TestPackedUInt(skiatest::Reporter* reporter) { for (i = 0; i < SK_ARRAY_COUNT(sizes); ++i) { size_t n = rstream.readPackedUInt(); if (sizes[i] != n) { - SkDebugf("-- %d: sizes:%x n:%x\n", i, sizes[i], n); + ERRORF(reporter, "sizes:%x != n:%x\n", i, sizes[i], n); } - REPORTER_ASSERT(reporter, sizes[i] == n); } } |