Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
f45728a5
Commit
f45728a5
authored
Apr 13, 2018
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more OSX pizzas
parent
b74a1af0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gmock-actions_test.cc
googlemock/test/gmock-actions_test.cc
+2
-1
No files found.
googlemock/test/gmock-actions_test.cc
View file @
f45728a5
...
@@ -1541,7 +1541,8 @@ TEST(FunctorActionTest, UnusedArguments) {
...
@@ -1541,7 +1541,8 @@ TEST(FunctorActionTest, UnusedArguments) {
// Verify that users can ignore uninteresting arguments.
// Verify that users can ignore uninteresting arguments.
Action
<
int
(
int
,
double
y
,
const
int
&
)
>
a
=
Action
<
int
(
int
,
double
y
,
const
int
&
)
>
a
=
[](
int
i
,
Unused
,
Unused
)
{
return
2
*
i
;
};
[](
int
i
,
Unused
,
Unused
)
{
return
2
*
i
;
};
tuple
<
int
,
double
,
const
int
&>
dummy
=
make_tuple
(
3
,
7.3
,
9
);
int
nine
=
9
;
tuple
<
int
,
double
,
const
int
&>
dummy
=
make_tuple
(
3
,
7.3
,
nine
);
EXPECT_EQ
(
6
,
a
.
Perform
(
dummy
));
EXPECT_EQ
(
6
,
a
.
Perform
(
dummy
));
}
}
...
...
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