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

Function test_2427

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

Source from the content-addressed store, hash-verified

17
18#[test]
19fn test_2427() {
20 // pattern lookbehind = re.compile(r'(?<!\.)x\b')
21 // START GENERATED by generate_tests.py
22 #[rustfmt::skip] let lookbehind = Pattern { pattern: "(?<!\\.)x\\b", code: &[14, 4, 0, 1, 1, 5, 5, 1, 16, 46, 1, 16, 120, 6, 10, 1] };
23 // END GENERATED
24 let (req, mut state) = lookbehind.state("x");
25 assert!(state.py_match(&req));
26}
27
28#[test]
29fn test_assert() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected