Skip to content

Commit 0d71c7a

Browse files
Merge pull request #493 from YaxinCheng:main
PiperOrigin-RevId: 695622719
2 parents 5ae614f + 5f524cf commit 0d71c7a

File tree

2 files changed

+444
-2
lines changed

2 files changed

+444
-2
lines changed

googletest/src/matchers/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ mod points_to_matcher;
5050
mod pointwise_matcher;
5151
mod predicate_matcher;
5252
mod property_matcher;
53+
mod result_of_matcher;
5354
mod some_matcher;
5455
mod str_matcher;
5556
mod subset_of_matcher;
@@ -95,8 +96,8 @@ pub use superset_of_matcher::superset_of;
9596
pub use crate::{
9697
__all as all, __any as any, __contains_each as contains_each, __elements_are as elements_are,
9798
__field as field, __is_contained_in as is_contained_in, __matches_pattern as matches_pattern,
98-
__pat as pat, __pointwise as pointwise, __property as property,
99-
__unordered_elements_are as unordered_elements_are,
99+
__pat as pat, __pointwise as pointwise, __property as property, __result_of as result_of,
100+
__result_of_ref as result_of_ref, __unordered_elements_are as unordered_elements_are,
100101
};
101102

102103
// Types and functions used by macros matchers.
@@ -113,6 +114,7 @@ pub mod __internal_unstable_do_not_depend_on_these {
113114
pub use super::matches_pattern::internal::pattern_only;
114115
pub use super::pointwise_matcher::internal::PointwiseMatcher;
115116
pub use super::property_matcher::internal::{property_matcher, property_ref_matcher};
117+
pub use super::result_of_matcher::internal::{result_of, result_of_ref};
116118
pub use super::unordered_elements_are_matcher::internal::{
117119
Requirements, UnorderedElementsAreMatcher,
118120
};

0 commit comments

Comments
 (0)