X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ferror_conditions.cc;h=66e7c44e02534b085c368791647c2cca6b005aa1;hb=77606accc7f17a79feaaf54041408cdba6febaf2;hp=50a64da5e8981ab00303e08b036fbb1b5f33ed41;hpb=a6c3e3a3d04f379b1480c8c88a8eae17e54b1449;p=awesomized%2Flibmemcached diff --git a/tests/error_conditions.cc b/tests/error_conditions.cc index 50a64da5..66e7c44e 100644 --- a/tests/error_conditions.cc +++ b/tests/error_conditions.cc @@ -36,12 +36,13 @@ */ #include +#include #define BUILDING_LIBMEMCACHED #include #include -#include + #include test_return_t memcached_increment_MEMCACHED_NO_SERVERS(memcached_st *) @@ -51,10 +52,10 @@ test_return_t memcached_increment_MEMCACHED_NO_SERVERS(memcached_st *) memc_ptr= memcached_create(NULL); test_true(memc_ptr); - memcached_increment(memc_ptr, memcached_literal_param("dead key"), 1, NULL); + memcached_increment(memc_ptr, test_literal_param("dead key"), 1, NULL); test_true(memcached_last_error(memc_ptr) == MEMCACHED_NO_SERVERS); - memcached_increment(memc_ptr, memcached_literal_param("dead key"), 1, NULL); + memcached_increment(memc_ptr, test_literal_param("dead key"), 1, NULL); test_true(memcached_last_error(memc_ptr) == MEMCACHED_NO_SERVERS); memcached_free(memc_ptr);