Skip to content

Commit 4bcbdbe

Browse files
Googlercopybara-github
Googler
authored andcommitted
Refactor and split similar tests in matches_pattern_test.rs to multiple files.
I have tried to: - Split tests for Structs together - Split tests for Tuple Structs together - Split tests for Enums together - Split tests for Structs and Enums together PiperOrigin-RevId: 755862546
1 parent 76a0097 commit 4bcbdbe

5 files changed

+1311
-1254
lines changed

googletest/tests/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ mod colorized_diff_test;
1919
mod composition_test;
2020
mod elements_are_matcher_test;
2121
mod field_matcher_test;
22-
mod matches_pattern_test;
22+
mod matches_pattern_enum_test;
23+
mod matches_pattern_struct_and_enum_test;
24+
mod matches_pattern_struct_test;
25+
mod matches_pattern_tuple_struct_test;
2326
mod pointwise_matcher_test;
2427
mod property_matcher_test;
2528
mod proptest_integration_test;

0 commit comments

Comments
 (0)