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

Function test_info_literal2

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

Source from the content-addressed store, hash-verified

117
118#[test]
119fn test_info_literal2() {
120 // pattern p = re.compile(r'(python)\1')
121 // START GENERATED by generate_tests.py
122 #[rustfmt::skip] let p = Pattern { pattern: "(python)\\1", code: &[14, 18, 1, 12, 12, 6, 0, 112, 121, 116, 104, 111, 110, 0, 0, 0, 0, 0, 0, 17, 0, 16, 112, 16, 121, 16, 116, 16, 104, 16, 111, 16, 110, 17, 1, 11, 0, 1] };
123 // END GENERATED
124 let (req, mut state) = p.state("pythonpython");
125 assert!(state.search(req));
126}
127
128#[test]
129fn test_repeat_in_assertions() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected