From d52b943dbd966665962fb4af269688effa8fc81e Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 8 Jul 2011 12:48:28 -0700 Subject: [PATCH 1/1] Extend test. --- tests/parser.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) { -- 2.30.2