mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
Add function name to exception if there's no default action
This commit is contained in:
parent
5ed471caec
commit
5b4166f05f
@ -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…
x
Reference in New Issue
Block a user