Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
09e1c64f
Commit
09e1c64f
authored
Oct 21, 2022
by
Denis Hananein
Browse files
Fix format without expectation name
Signed-off-by:
Denis Hananein
<
i@zloylos.me
>
parent
0d263789
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googlemock/include/gmock/gmock-spec-builders.h
googlemock/include/gmock/gmock-spec-builders.h
+2
-2
No files found.
googlemock/include/gmock/gmock-spec-builders.h
View file @
09e1c64f
...
...
@@ -1213,9 +1213,9 @@ class TypedExpectation<R(Args...)> : public ExpectationBase {
if
(
IsSaturated
())
{
// We have an excessive call.
IncrementCallCount
();
*
what
<<
"Mock function called more times than expected
"
;
*
what
<<
"Mock function called more times than expected"
;
if
(
!
expectation_name
.
empty
())
{
*
what
<<
"for
\"
"
<<
expectation_name
<<
"
\"
"
;
*
what
<<
"
for
\"
"
<<
expectation_name
<<
"
\"
"
;
}
*
what
<<
" - "
;
mocker
->
DescribeDefaultActionTo
(
args
,
what
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment