From: Michael Wallner Date: Mon, 13 Jan 2020 15:22:49 +0000 (+0100) Subject: tests: attempt to fix memcached_dump() with data X-Git-Tag: pre_cmake~46 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6d8ae66c64dded43f17dc85b906dd334e1173bf7;p=m6w6%2Flibmemcached tests: attempt to fix memcached_dump() with data --- diff --git a/tests/libmemcached-1.0/dump.cc b/tests/libmemcached-1.0/dump.cc index 03704cf6..1e19c4a9 100644 --- a/tests/libmemcached-1.0/dump.cc +++ b/tests/libmemcached-1.0/dump.cc @@ -138,7 +138,7 @@ test_return_t memcached_dump_TEST2(memcached_st *memc) test_compare(MEMCACHED_SUCCESS, memcached_dump(memc, callbacks, &count, 1)); - test_true(count); + test_true(count > 0); return TEST_SUCCESS; }