summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCopybara-Service <copybara-worker@google.com>2024-11-20 17:37:33 (GMT)
committerCopybara-Service <copybara-worker@google.com>2024-11-20 17:37:33 (GMT)
commit35d0c365609296fa4730d62057c487e3cfa030ff (patch)
tree831748db504dba5e9cec8edc6eb01bc8cb776f91
parentd144031940543e15423a25ae5a8a74141044862f (diff)
parent7927f8e93d2cc7788229ab446179fdfda15e75e4 (diff)
downloadgoogletest-35d0c365609296fa4730d62057c487e3cfa030ff.zip
googletest-35d0c365609296fa4730d62057c487e3cfa030ff.tar.gz
googletest-35d0c365609296fa4730d62057c487e3cfa030ff.tar.bz2
Merge pull request #4662 from asoffer:patch-1
PiperOrigin-RevId: 698420375 Change-Id: I786e5b50d171c697c21579659a67716442f224df
-rw-r--r--googletest/include/gtest/gtest-matchers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/googletest/include/gtest/gtest-matchers.h b/googletest/include/gtest/gtest-matchers.h
index eae210e..78160f0 100644
--- a/googletest/include/gtest/gtest-matchers.h
+++ b/googletest/include/gtest/gtest-matchers.h
@@ -67,10 +67,10 @@ namespace testing {
// To implement a matcher Foo for type T, define:
// 1. a class FooMatcherMatcher that implements the matcher interface:
// using is_gtest_matcher = void;
-// bool MatchAndExplain(const T&, std::ostream*);
+// bool MatchAndExplain(const T&, std::ostream*) const;
// (MatchResultListener* can also be used instead of std::ostream*)
-// void DescribeTo(std::ostream*);
-// void DescribeNegationTo(std::ostream*);
+// void DescribeTo(std::ostream*) const;
+// void DescribeNegationTo(std::ostream*) const;
//
// 2. a factory function that creates a Matcher<T> object from a
// FooMatcherMatcher.