Fix output error.
authorBrian Aker <brian@tangent.org>
Mon, 24 Dec 2012 06:53:14 +0000 (01:53 -0500)
committerBrian Aker <brian@tangent.org>
Mon, 24 Dec 2012 06:53:14 +0000 (01:53 -0500)
tests/libmemcached-1.0/mem_functions.cc

index 046e543d4bc585c1c4a16fd1e09d8aa9580bcaa6..89eca0724342a46e06c32c22ad382e6d3ab9c3b1 100644 (file)
@@ -4953,8 +4953,7 @@ test_return_t kill_HUP_TEST(memcached_st *original_memc)
                                         test_literal_param(__func__), // Keys
                                         test_literal_param(__func__), // Values
                                         0, 0);
-  Error << memcached_last_error_message(memc);
-  test_compare(MEMCACHED_CONNECTION_FAILURE, ret);
+  test_compare(ret, MEMCACHED_CONNECTION_FAILURE);
 
   memcached_free(memc);