Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/googletest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'googlemock/src/gmock-spec-builders.cc')
-rw-r--r--googlemock/src/gmock-spec-builders.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/googlemock/src/gmock-spec-builders.cc b/googlemock/src/gmock-spec-builders.cc
index e5f4609f..66fb434b 100644
--- a/googlemock/src/gmock-spec-builders.cc
+++ b/googlemock/src/gmock-spec-builders.cc
@@ -411,12 +411,11 @@ bool UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked()
::std::stringstream ss;
const ::std::string& expectation_name = untyped_expectation->GetName();
- ss << "Actual function";
+ ss << "Actual function call count doesn't match ";
if (!expectation_name.empty()) {
- ss << " with name \"" << expectation_name << "\"";
+ ss << "\"" << expectation_name << "\"";
}
- ss << " call count doesn't match " << untyped_expectation->source_text()
- << "...\n";
+ ss << untyped_expectation->source_text() << "...\n";
// No need to show the source file location of the expectation
// in the description, as the Expect() call that follows already
// takes care of it.