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

Function test_string_boundaries

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

Source from the content-addressed store, hash-verified

37
38#[test]
39fn test_string_boundaries() {
40 // pattern big_b = re.compile(r'\B')
41 // START GENERATED by generate_tests.py
42 #[rustfmt::skip] let big_b = Pattern { pattern: "\\B", code: &[14, 4, 0, 0, 0, 6, 11, 1] };
43 // END GENERATED
44 let (req, mut state) = big_b.state("");
45 assert!(!state.search(req));
46}
47
48#[test]
49fn test_zerowidth() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected