summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Timer_Queue_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Timer_Queue_Test.cpp b/tests/Timer_Queue_Test.cpp
index a4510d24da8..b29cd122f92 100644
--- a/tests/Timer_Queue_Test.cpp
+++ b/tests/Timer_Queue_Test.cpp
@@ -201,7 +201,7 @@ test_functionality (ACE_Timer_Queue *tq)
timer_id2 = tq->schedule (&eh,
timer_act,
tq->gettimeofday ());
- ACE_ASSERT (timer_id != -1);
+ ACE_ASSERT (timer_id2 != -1);
// The following method will trigger a call to <handle_close>.
ACE_ASSERT (eh.close_count_ == 2);