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

pull/1206/head
Maurice Gilden 8 years ago
parent 5ed471caec
commit 5b4166f05f
  1. 2
      googlemock/src/gmock-spec-builders.cc

@ -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.

Loading…
Cancel
Save