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

Function test_assert

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

Source from the content-addressed store, hash-verified

27
28#[test]
29fn test_assert() {
30 // pattern positive_lookbehind = re.compile(r'(?<=abc)def')
31 // START GENERATED by generate_tests.py
32 #[rustfmt::skip] let positive_lookbehind = Pattern { pattern: "(?<=abc)def", code: &[14, 4, 0, 3, 3, 4, 9, 3, 16, 97, 16, 98, 16, 99, 1, 16, 100, 16, 101, 16, 102, 1] };
33 // END GENERATED
34 let (req, mut state) = positive_lookbehind.state("abcdef");
35 assert!(state.search(req));
36}
37
38#[test]
39fn test_string_boundaries() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected