Add function name to exception if there's no default action

This commit is contained in:
Maurice Gilden
2017-08-16 17:53:16 +02:00
parent 5ed471caec
commit 5b4166f05f
+1 -1
View File
@@ -364,7 +364,7 @@ UntypedFunctionMockerBase::UntypedInvokeWith(const void* const untyped_args)
if (!need_to_report_uninteresting_call) {
// Perform the action without printing the call information.
return this->UntypedPerformDefaultAction(untyped_args, "");
return this->UntypedPerformDefaultAction(untyped_args, "Function call: " + std::string(Name()));
}
// Warns about the uninteresting call.