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
3aa538cb
Commit
3aa538cb
authored
Jan 12, 2020
by
Muhammad Hilman Beyri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix unit test failure on NoShortCircuitOnFailure and DetectsFlakyShortCircuit…
fix unit test failure on NoShortCircuitOnFailure and DetectsFlakyShortCircuit when GTEST_HAS_RTTI is 1
parent
d854bd6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gmock-matchers_test.cc
googlemock/test/gmock-matchers_test.cc
+2
-2
No files found.
googlemock/test/gmock-matchers_test.cc
View file @
3aa538cb
...
@@ -6885,7 +6885,7 @@ TEST_F(PredicateFormatterFromMatcherTest, NoShortCircuitOnFailure) {
...
@@ -6885,7 +6885,7 @@ TEST_F(PredicateFormatterFromMatcherTest, NoShortCircuitOnFailure) {
EXPECT_FALSE
(
result
);
// Implicit cast to bool.
EXPECT_FALSE
(
result
);
// Implicit cast to bool.
std
::
string
expect
=
std
::
string
expect
=
"Value of: dummy-name
\n
Expected: [DescribeTo]
\n
"
"Value of: dummy-name
\n
Expected: [DescribeTo]
\n
"
" Actual: 1, [MatchAndExplain]"
;
" Actual: 1
"
+
OfType
(
internal
::
GetTypeName
<
Behavior
>
())
+
"
, [MatchAndExplain]"
;
EXPECT_EQ
(
expect
,
result
.
message
());
EXPECT_EQ
(
expect
,
result
.
message
());
}
}
...
@@ -6896,7 +6896,7 @@ TEST_F(PredicateFormatterFromMatcherTest, DetectsFlakyShortCircuit) {
...
@@ -6896,7 +6896,7 @@ TEST_F(PredicateFormatterFromMatcherTest, DetectsFlakyShortCircuit) {
"Value of: dummy-name
\n
Expected: [DescribeTo]
\n
"
"Value of: dummy-name
\n
Expected: [DescribeTo]
\n
"
" The matcher failed on the initial attempt; but passed when rerun to "
" The matcher failed on the initial attempt; but passed when rerun to "
"generate the explanation.
\n
"
"generate the explanation.
\n
"
" Actual: 2, [MatchAndExplain]"
;
" Actual: 2
"
+
OfType
(
internal
::
GetTypeName
<
Behavior
>
())
+
"
, [MatchAndExplain]"
;
EXPECT_EQ
(
expect
,
result
.
message
());
EXPECT_EQ
(
expect
,
result
.
message
());
}
}
...
...
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