From: Brian Aker Date: Fri, 8 Jul 2011 19:48:28 +0000 (-0700) Subject: Extend test. X-Git-Tag: 0.51~1^2~6^2~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d52b943dbd966665962fb4af269688effa8fc81e;p=awesomized%2Flibmemcached Extend test. --- diff --git a/tests/parser.cc b/tests/parser.cc index c53c0512..5d23e9d4 100644 --- a/tests/parser.cc +++ b/tests/parser.cc @@ -243,7 +243,11 @@ static test_return_t _test_option(scanner_variable_t *scanner, bool test_true_op libmemcached_check_configuration(ptr->option.c_str, ptr->option.size, buffer, sizeof(buffer)); } - test_true_got(memc, buffer); + std::string temp(buffer); + temp+= " with option string:"; + temp+= ptr->option.c_str; + + test_true_got(memc, temp.c_str()); if (ptr->check_func) {