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

Function test_named

tests/test_parse.py:142–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140
141
142def test_named():
143 # pull a named value out of string
144 r = parse.parse("hello {name}", "hello world")
145 assert r.named == {"name": "world"}
146
147
148def test_named_repeated():

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected