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

Function test_center

tests/test_parse.py:84–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82
83
84def test_center():
85 # pull center-aligned text out of string
86 r = parse.parse("hello {:^} world", "hello there world")
87 assert r.fixed == ("there",)
88
89
90def test_typed():

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected