aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/StreamTest.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-02-24 17:59:16 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-24 17:59:16 -0800
commit7d57124a2a9ed7b271568fb75b3cfd949fdb313a (patch)
tree34a0d37411771ccceb3dc4537a19c8360e1f5cfb /tests/StreamTest.cpp
parent8e9f5e39d774198a5a5d9345bc9f863e855c593b (diff)
Unit Tests: eliminate stray SkDebugf()s.
Diffstat (limited to 'tests/StreamTest.cpp')
-rw-r--r--tests/StreamTest.cpp3
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);
}
}