Googletest export

Add "using is_gtest_matcher = void" to the DivisibleBy7Matcher example.

PiperOrigin-RevId: 351797821
This commit is contained in:
Abseil Team
2021-01-14 10:42:25 -05:00
committed by Derek Mauro
parent 6c58c11d54
commit a2f906be69
6 changed files with 2 additions and 138 deletions

View File

@@ -3584,6 +3584,8 @@ using ::testing::Matcher;
class DivisibleBy7Matcher {
public:
using is_gtest_matcher = void;
bool MatchAndExplain(int n, std::ostream*) const {
return (n % 7) == 0;
}