diff options
Diffstat (limited to 'cc/test/scheduler_test_common.h')
-rw-r--r-- | cc/test/scheduler_test_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h index 2f6660b..3b73d0d 100644 --- a/cc/test/scheduler_test_common.h +++ b/cc/test/scheduler_test_common.h @@ -46,7 +46,7 @@ public: bool hasPendingTask() const { return m_pendingTask; } void runPendingTask() { - ASSERT(m_pendingTask); + ASSERT_TRUE(m_pendingTask); OwnPtr<Task> task = m_pendingTask.release(); task->performTask(); } @@ -87,7 +87,7 @@ public: void tick() { - ASSERT(m_active); + ASSERT_TRUE(m_active); if (m_client) m_client->onTimerTick(); } |