projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in parser adjustment so that = now belongs to the actual parser.
[awesomized/libmemcached]
/
tests
/
hashkit_functions.c
diff --git
a/tests/hashkit_functions.c
b/tests/hashkit_functions.c
index deb5436a1570cf5961579aa48b704b7a02047801..23feb9e50a6f3e46459684fb0a9196d07081359a 100644
(file)
--- a/
tests/hashkit_functions.c
+++ b/
tests/hashkit_functions.c
@@
-15,7
+15,7
@@
#include <libhashkit/hashkit.h>
#include <libhashkit/hashkit.h>
-#include
"test.h"
+#include
<libtest/test.h>
#include "hash_results.h"
#include "hash_results.h"
@@
-345,10
+345,10
@@
static test_return_t hashkit_set_function_test(hashkit_st *hashk)
continue;
#endif
continue;
#endif
- if (rc == HASHKIT_
FAILURE
&& algo == HASHKIT_HASH_CUSTOM)
+ if (rc == HASHKIT_
INVALID_ARGUMENT
&& algo == HASHKIT_HASH_CUSTOM)
continue;
continue;
- test_true
(rc == HASHKIT_SUCCESS
);
+ test_true
_got(rc == HASHKIT_SUCCESS, hashkit_strerror(NULL, rc)
);
switch (algo)
{
switch (algo)
{
@@
-448,7
+448,7
@@
static test_return_t hashkit_set_distribution_function_test(hashkit_st *hashk)
if (rc == HASHKIT_FAILURE && algo == HASHKIT_HASH_HSIEH)
continue;
if (rc == HASHKIT_FAILURE && algo == HASHKIT_HASH_HSIEH)
continue;
- if (rc == HASHKIT_
FAILURE
&& algo == HASHKIT_HASH_CUSTOM)
+ if (rc == HASHKIT_
INVALID_ARGUMENT
&& algo == HASHKIT_HASH_CUSTOM)
continue;
test_true(rc == HASHKIT_SUCCESS);
continue;
test_true(rc == HASHKIT_SUCCESS);