aboutsummaryrefslogtreecommitdiffstats
path: root/storageframework
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2019-05-27 14:08:38 +0000
committerGeir Storli <geirst@verizonmedia.com>2019-05-27 14:08:38 +0000
commita408f60572863a67c4ff3baa34906ccd1ab64c3a (patch)
treec3323c6994d9a55a8b5067db21ab52280207690a /storageframework
parentea99d9064c25de9da79ca41da6124f79817676e1 (diff)
Use ASSERT_TRUE() where appropriate.
Diffstat (limited to 'storageframework')
-rw-r--r--storageframework/src/tests/thread/taskthreadtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storageframework/src/tests/thread/taskthreadtest.cpp b/storageframework/src/tests/thread/taskthreadtest.cpp
index fc4d2dfc704..5d729190841 100644
--- a/storageframework/src/tests/thread/taskthreadtest.cpp
+++ b/storageframework/src/tests/thread/taskthreadtest.cpp
@@ -40,7 +40,7 @@ TEST(TaskThreadTest, test_normal_usage)
t.addTask(Task("d", 4));
EXPECT_TRUE(t.empty()); // Still empty before critical tick has run
dynamic_cast<TickingThread&>(t).doCriticalTick(0);
- EXPECT_TRUE(!t.empty());
+ ASSERT_TRUE(!t.empty());
EXPECT_EQ(3, t.peek().getPriority());
std::ostringstream ost;
while (!t.empty()) {