MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_repeat_in_assertions

Function test_repeat_in_assertions

crates/sre_engine/tests/tests.rs:129–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127
128#[test]
129fn test_repeat_in_assertions() {
130 // pattern p = re.compile('^([ab]*?)(?=(b)?)c', re.IGNORECASE)
131 // START GENERATED by generate_tests.py
132 #[rustfmt::skip] let p = Pattern { pattern: "^([ab]*?)(?=(b)?)c", code: &[14, 4, 0, 1, 4294967295, 6, 0, 17, 0, 26, 10, 0, 4294967295, 39, 5, 22, 97, 98, 0, 1, 17, 1, 4, 14, 0, 23, 9, 0, 1, 17, 2, 40, 98, 17, 3, 18, 1, 40, 99, 1] };
133 // END GENERATED
134 let (req, mut state) = p.state("abc");
135 assert!(state.search(req));
136}
137
138#[test]
139fn test_possessive_quantifier() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected