projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
279113c
)
tests: be more elaborate about what was expected
author
Michael Wallner
<mike@php.net>
Thu, 2 Mar 2023 11:25:27 +0000
(12:25 +0100)
committer
Michael Wallner
<mike@php.net>
Thu, 2 Mar 2023 11:25:27 +0000
(12:25 +0100)
test/lib/ReturnMatcher.cpp
patch
|
blob
|
history
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 {
- 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);
}