X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmem_functions.cc;h=f70dbba432db281a3b457c3326f72b584fc7e8be;hb=b0ef8cb4b2a4056fc7df7c16aa6a170edb4dea34;hp=180f1e7e2fe4c2e319810f29e9ae20439a211280;hpb=7abcaebdc4c3dd11b779eaef58a7371fb82ae888;p=awesomized%2Flibmemcached diff --git a/tests/mem_functions.cc b/tests/mem_functions.cc index 180f1e7e..f70dbba4 100644 --- a/tests/mem_functions.cc +++ b/tests/mem_functions.cc @@ -330,7 +330,7 @@ static test_return_t clone_test(memcached_st *memc) test_true(memc_clone->flags.verify_key == memc->flags.verify_key); test_true(memc_clone->ketama.weighted == memc->ketama.weighted); test_true(memc_clone->flags.binary_protocol == memc->flags.binary_protocol); - test_true(memc_clone->flags.hash_with_prefix_key == memc->flags.hash_with_prefix_key); + test_true(memc_clone->flags.hash_with_namespace == memc->flags.hash_with_namespace); test_true(memc_clone->flags.no_reply == memc->flags.no_reply); test_true(memc_clone->flags.use_udp == memc->flags.use_udp); test_true(memc_clone->flags.auto_eject_hosts == memc->flags.auto_eject_hosts); @@ -1725,7 +1725,7 @@ static test_return_t mget_test(memcached_st *memc) { test_true(return_value); test_compare(MEMCACHED_SUCCESS, rc); - if (not memc->prefix_key) + if (not memc->_namespace) { test_compare(return_key_length, return_value_length); test_memcmp(return_value, return_key, return_value_length);