X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fatomsmasher.cc;h=981819d20c0c75ea03b6fafde11cd20b97e5ad26;hb=5456b8df880eb3d611f4a607a152c338f7b0f0c7;hp=eebe0f38311162ed75bd847a1c32370183d41f07;hpb=f0ec3e2ffaf483bbd1329e8c6aba37f729e6df4f;p=awesomized%2Flibmemcached diff --git a/tests/atomsmasher.cc b/tests/atomsmasher.cc index eebe0f38..981819d2 100644 --- a/tests/atomsmasher.cc +++ b/tests/atomsmasher.cc @@ -17,7 +17,6 @@ #include #include -#include #include #include @@ -99,8 +98,7 @@ infinite: } else { - WATCHPOINT_ERROR(rc); - WATCHPOINT_ASSERT(rc); + test_compare(MEMCACHED_SUCCESS, rc); } } else @@ -112,8 +110,7 @@ infinite: 0, 0); if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_BUFFERED) { - WATCHPOINT_ERROR(rc); - WATCHPOINT_ASSERT(0); + test_compare(MEMCACHED_SUCCESS, rc); } } }