summaryrefslogtreecommitdiff
path: root/ACE/tests/Hash_Map_Bucket_Iterator_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Hash_Map_Bucket_Iterator_Test.cpp')
-rw-r--r--ACE/tests/Hash_Map_Bucket_Iterator_Test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/tests/Hash_Map_Bucket_Iterator_Test.cpp b/ACE/tests/Hash_Map_Bucket_Iterator_Test.cpp
index 5d2ed20e9b4..5cf017c288d 100644
--- a/ACE/tests/Hash_Map_Bucket_Iterator_Test.cpp
+++ b/ACE/tests/Hash_Map_Bucket_Iterator_Test.cpp
@@ -87,8 +87,7 @@ run_main (int argc, ACE_TCHAR *argv[])
for (i = 0; i < iterations; ++i)
{
int result = map.bind (i, i);
- ACE_ASSERT (result == 0);
- ACE_UNUSED_ARG (result);
+ ACE_TEST_ASSERT (result == 0);
}
for (i = 0; i < table_size; ++i)
@@ -106,7 +105,7 @@ run_main (int argc, ACE_TCHAR *argv[])
{
ACE_DEBUG ((LM_DEBUG, "%d ", (*iterator).int_id_));
ACE_UINT32 key = (*iterator).ext_id_;
- ACE_ASSERT (((key - i) % table_size) == 0);
+ ACE_TEST_ASSERT (((key - i) % table_size) == 0);
}
ACE_DEBUG ((LM_DEBUG, "\n"));