Skip to content

Commit 35d0c36

Browse files
Merge pull request #4662 from asoffer:patch-1
PiperOrigin-RevId: 698420375 Change-Id: I786e5b50d171c697c21579659a67716442f224df
2 parents d144031 + 7927f8e commit 35d0c36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

googletest/include/gtest/gtest-matchers.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ namespace testing {
6767
// To implement a matcher Foo for type T, define:
6868
// 1. a class FooMatcherMatcher that implements the matcher interface:
6969
// using is_gtest_matcher = void;
70-
// bool MatchAndExplain(const T&, std::ostream*);
70+
// bool MatchAndExplain(const T&, std::ostream*) const;
7171
// (MatchResultListener* can also be used instead of std::ostream*)
72-
// void DescribeTo(std::ostream*);
73-
// void DescribeNegationTo(std::ostream*);
72+
// void DescribeTo(std::ostream*) const;
73+
// void DescribeNegationTo(std::ostream*) const;
7474
//
7575
// 2. a factory function that creates a Matcher<T> object from a
7676
// FooMatcherMatcher.

0 commit comments

Comments
 (0)