Googletest export
Add "using is_gtest_matcher = void" to the DivisibleBy7Matcher example. PiperOrigin-RevId: 351797821
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user