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

Function test_info_literal

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

Source from the content-addressed store, hash-verified

107
108#[test]
109fn test_info_literal() {
110 // pattern p = re.compile(r'ababc+')
111 // START GENERATED by generate_tests.py
112 #[rustfmt::skip] let p = Pattern { pattern: "ababc+", code: &[14, 14, 1, 5, 4294967295, 4, 4, 97, 98, 97, 98, 0, 0, 1, 2, 16, 97, 16, 98, 16, 97, 16, 98, 24, 6, 1, 4294967295, 16, 99, 1, 1] };
113 // END GENERATED
114 let (req, mut state) = p.state("!ababc");
115 assert!(state.search(req));
116}
117
118#[test]
119fn test_info_literal2() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected