tests: attempt to fix memcached_dump() with data
authorMichael Wallner <mike@php.net>
Mon, 13 Jan 2020 15:22:49 +0000 (16:22 +0100)
committerMichael Wallner <mike@php.net>
Mon, 13 Jan 2020 15:22:49 +0000 (16:22 +0100)
tests/libmemcached-1.0/dump.cc

index 03704cf6ee64d9803aca02b37dfd1be5c6c5d490..1e19c4a9f0ad411066d0e60833aaf2d6a5330ed4 100644 (file)
@@ -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;
 }