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

Function test_right

tests/test_parse.py:78–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77
78def test_right():
79 # pull right-aligned text out of string
80 r = parse.parse("hello {:>}", "hello world")
81 assert r.fixed == ("world",)
82
83
84def test_center():

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected