Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
130ae78b
Commit
130ae78b
authored
May 28, 2020
by
Derek Mauro
Browse files
Merge pull request #2862 from prehistoric-penguin:prehistoric-penguin-patch-1
PiperOrigin-RevId: 313289519
parents
69fb7e5d
80d5177d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
googletest/src/gtest-typed-test.cc
googletest/src/gtest-typed-test.cc
+1
-11
No files found.
googletest/src/gtest-typed-test.cc
View file @
130ae78b
...
...
@@ -78,17 +78,7 @@ const char* TypedTestSuitePState::VerifyRegisteredTestNames(
continue
;
}
bool
found
=
false
;
for
(
RegisteredTestIter
it
=
registered_tests_
.
begin
();
it
!=
registered_tests_
.
end
();
++
it
)
{
if
(
name
==
it
->
first
)
{
found
=
true
;
break
;
}
}
if
(
found
)
{
if
(
registered_tests_
.
count
(
name
)
!=
0
)
{
tests
.
insert
(
name
);
}
else
{
errors
<<
"No test named "
<<
name
...
...
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