Extend test.
authorBrian Aker <brian@tangent.org>
Fri, 8 Jul 2011 19:48:28 +0000 (12:48 -0700)
committerBrian Aker <brian@tangent.org>
Fri, 8 Jul 2011 19:48:28 +0000 (12:48 -0700)
tests/parser.cc

index c53c0512538c108afda7a9d947bd68f2ea037c44..5d23e9d4f0e3c444688084a313da4c6d4b75428c 100644 (file)
@@ -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)
       {