projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
tests: attempt to fix memcached_dump() with data
[awesomized/libmemcached]
/
tests
/
libmemcached-1.0
/
dump.cc
diff --git
a/tests/libmemcached-1.0/dump.cc
b/tests/libmemcached-1.0/dump.cc
index 03704cf6ee64d9803aca02b37dfd1be5c6c5d490..1e19c4a9f0ad411066d0e60833aaf2d6a5330ed4 100644
(file)
--- 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_compare(MEMCACHED_SUCCESS,
memcached_dump(memc, callbacks, &count, 1));
- test_true(count);
+ test_true(count
> 0
);
return TEST_SUCCESS;
}
return TEST_SUCCESS;
}