diff options
author | misterg <misterg@google.com> | 2019-01-02 21:50:02 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-01-02 21:51:40 (GMT) |
commit | 14c2fba7349e1f84e506dd6eab2835a8023d0f05 (patch) | |
tree | 153a958225111f1d08d970dc457252097fa42be2 /googlemock/include/gmock/gmock-matchers.h | |
parent | f8b1c1af17750189b83c58f360c85268c0d95105 (diff) | |
download | googletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.zip googletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.tar.gz googletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.tar.bz2 |
Googletest export
Internal Change
PiperOrigin-RevId: 227575279
Diffstat (limited to 'googlemock/include/gmock/gmock-matchers.h')
-rw-r--r-- | googlemock/include/gmock/gmock-matchers.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index 36ff299..b99fdc3 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -382,8 +382,6 @@ class TuplePrefix { const Value& value = std::get<N - 1>(values); StringMatchResultListener listener; if (!matcher.MatchAndExplain(value, &listener)) { - // FIXME: include in the message the name of the parameter - // as used in MOCK_METHOD*() when possible. *os << " Expected arg #" << N - 1 << ": "; std::get<N - 1>(matchers).DescribeTo(os); *os << "\n Actual: "; @@ -1657,7 +1655,6 @@ class WhenDynamicCastToMatcher : public WhenDynamicCastToMatcherBase<To> { template <typename From> bool MatchAndExplain(From from, MatchResultListener* listener) const { - // FIXME: Add more detail on failures. ie did the dyn_cast fail? To to = dynamic_cast<To>(from); return MatchPrintAndExplain(to, this->matcher_, listener); } |