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
41ad243d
Commit
41ad243d
authored
Jun 19, 2017
by
Hector Dearman
Browse files
Fix typo in gmock-actions.h
This upstreams a Google-internal change (141765019).
parent
c2d90bdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
googlemock/include/gmock/gmock-actions.h
googlemock/include/gmock/gmock-actions.h
+4
-4
No files found.
googlemock/include/gmock/gmock-actions.h
View file @
41ad243d
...
@@ -1029,9 +1029,9 @@ class DoBothAction {
...
@@ -1029,9 +1029,9 @@ class DoBothAction {
// return sqrt(x*x + y*y);
// return sqrt(x*x + y*y);
// }
// }
// ...
// ...
// EX
E
PCT_CALL(mock, Foo("abc", _, _))
// EXP
E
CT_CALL(mock, Foo("abc", _, _))
// .WillOnce(Invoke(DistanceToOriginWithLabel));
// .WillOnce(Invoke(DistanceToOriginWithLabel));
// EX
E
PCT_CALL(mock, Bar(5, _, _))
// EXP
E
CT_CALL(mock, Bar(5, _, _))
// .WillOnce(Invoke(DistanceToOriginWithIndex));
// .WillOnce(Invoke(DistanceToOriginWithIndex));
//
//
// you could write
// you could write
...
@@ -1041,8 +1041,8 @@ class DoBothAction {
...
@@ -1041,8 +1041,8 @@ class DoBothAction {
// return sqrt(x*x + y*y);
// return sqrt(x*x + y*y);
// }
// }
// ...
// ...
// EX
E
PCT_CALL(mock, Foo("abc", _, _)).WillOnce(Invoke(DistanceToOrigin));
// EXP
E
CT_CALL(mock, Foo("abc", _, _)).WillOnce(Invoke(DistanceToOrigin));
// EX
E
PCT_CALL(mock, Bar(5, _, _)).WillOnce(Invoke(DistanceToOrigin));
// EXP
E
CT_CALL(mock, Bar(5, _, _)).WillOnce(Invoke(DistanceToOrigin));
typedef
internal
::
IgnoredValue
Unused
;
typedef
internal
::
IgnoredValue
Unused
;
// This constructor allows us to turn an Action<From> object into an
// This constructor allows us to turn an Action<From> object into an
...
...
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