MCPcopy Create free account
hub / github.com/coooodeer/parse-rust / test_format_equals_input

Function test_format_equals_input

tests/test_security_inputs.py:276–282  ·  view source on GitHub ↗

Literal format that equals the entire input must match (zero fields).

()

Source from the content-addressed store, hash-verified

274
275
276def test_format_equals_input():
277 """Literal format that equals the entire input must match (zero fields)."""
278 def run():
279 r = parse("exact text", "exact text")
280 assert r is not None
281 assert len(r.fixed) == 0
282 _check_no_crash(run)
283
284
285# ══════════════════════════════════════════════════════════════════════

Callers

nothing calls this directly

Calls 1

_check_no_crashFunction · 0.85

Tested by

no test coverage detected