Fix incorrect assert in r13895.
git-svn-id: http://skia.googlecode.com/svn/trunk@13896 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/TArrayTest.cpp b/tests/TArrayTest.cpp
index f86cfe4..b85efca 100644
--- a/tests/TArrayTest.cpp
+++ b/tests/TArrayTest.cpp
@@ -19,7 +19,7 @@
REPORTER_ASSERT(reporter, a.count() == 0);
// { }, add a default constructed element
- REPORTER_ASSERT(reporter, a.push_back());
+ a.push_back() = 0;
REPORTER_ASSERT(reporter, !a.empty());
REPORTER_ASSERT(reporter, a.count() == 1);
@@ -29,7 +29,7 @@
REPORTER_ASSERT(reporter, a.count() == 0);
// { }, add a default, add a 1, remove first
- REPORTER_ASSERT(reporter, a.push_back());
+ a.push_back() = 0;
REPORTER_ASSERT(reporter, a.push_back() = 1);
a.removeShuffle(0);
REPORTER_ASSERT(reporter, !a.empty());