MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / test_path

Function test_path

tests/prefix_test.py:25–28  ·  view source on GitHub ↗
(prefix, path_end, expected_output)

Source from the content-addressed store, hash-verified

23 ),
24)
25def test_path(prefix, path_end, expected_output):
26 instance = Prefix(prefix)
27 ret = instance.path(path_end)
28 assert ret == expected_output
29
30
31def test_path_multiple_args():

Callers

nothing calls this directly

Calls 2

pathMethod · 0.95
PrefixClass · 0.90

Tested by

no test coverage detected