projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
tests: be more elaborate about what was expected
[awesomized/libmemcached]
/
test
/
lib
/
ReturnMatcher.cpp
diff --git
a/test/lib/ReturnMatcher.cpp
b/test/lib/ReturnMatcher.cpp
index 926214e74a829a998e9106e18708af7860c92650..7a073f29120186a5147af10bfa6fdace47087912 100644
(file)
--- a/
test/lib/ReturnMatcher.cpp
+++ b/
test/lib/ReturnMatcher.cpp
@@
-24,7
+24,7
@@
ReturnMatcher &ReturnMatcher::operator=(memcached_st *memc_) {
}
string ReturnMatcher::describe() const {
}
string ReturnMatcher::describe() const {
- return "
is " + to_string(expected)
- + "
\n actual
: " + memcached_last_error_message(memc);
+ return "
// but '" + to_string(expected) + "' was expected\n"
+ + "
last error
: " + memcached_last_error_message(memc);
}
}