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

Function test_info_single2

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

Source from the content-addressed store, hash-verified

97
98#[test]
99fn test_info_single2() {
100 // pattern p = re.compile(r'Python|Perl')
101 // START GENERATED by generate_tests.py
102 #[rustfmt::skip] let p = Pattern { pattern: "Python|Perl", code: &[14, 8, 1, 4, 6, 1, 1, 80, 0, 16, 80, 7, 13, 16, 121, 16, 116, 16, 104, 16, 111, 16, 110, 15, 11, 9, 16, 101, 16, 114, 16, 108, 15, 2, 0, 1] };
103 // END GENERATED
104 let (req, mut state) = p.state("Perl");
105 assert!(state.search(req));
106}
107
108#[test]
109fn test_info_literal() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected