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
c46bdea4
"vscode:/vscode.git/clone" did not exist on "56070d8903bc7b9abbba952afa5e54209a08c0a2"
Commit
c46bdea4
authored
Jul 07, 2020
by
Vladimir Goncharov
Browse files
Update tests after changing an error message
parent
0a80845e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googlemock/test/gmock-matchers_test.cc
googlemock/test/gmock-matchers_test.cc
+2
-2
No files found.
googlemock/test/gmock-matchers_test.cc
View file @
c46bdea4
...
@@ -8210,7 +8210,7 @@ TEST(ThrowsTest, FailWrongTypeNonStd) {
...
@@ -8210,7 +8210,7 @@ TEST(ThrowsTest, FailWrongTypeNonStd) {
[]()
{
throw
10
;
},
&
listener
));
[]()
{
throw
10
;
},
&
listener
));
EXPECT_THAT
(
EXPECT_THAT
(
listener
.
str
(),
listener
.
str
(),
testing
::
HasSubstr
(
"throws an exception of
some other
type"
));
testing
::
HasSubstr
(
"throws an exception of
an unknown
type"
));
}
}
TEST
(
ThrowsTest
,
FailNoThrow
)
{
TEST
(
ThrowsTest
,
FailNoThrow
)
{
...
@@ -8262,7 +8262,7 @@ TEST_P(ThrowsPredicateTest, FailWrongTypeNonStd) {
...
@@ -8262,7 +8262,7 @@ TEST_P(ThrowsPredicateTest, FailWrongTypeNonStd) {
[]()
{
throw
10
;
},
&
listener
));
[]()
{
throw
10
;
},
&
listener
));
EXPECT_THAT
(
EXPECT_THAT
(
listener
.
str
(),
listener
.
str
(),
testing
::
HasSubstr
(
"throws an exception of
some other
type"
));
testing
::
HasSubstr
(
"throws an exception of
an unknown
type"
));
}
}
TEST_P
(
ThrowsPredicateTest
,
FailWrongMessage
)
{
TEST_P
(
ThrowsPredicateTest
,
FailWrongMessage
)
{
...
...
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