MCPcopy Create free account
hub / github.com/pre-commit/pre-commit / test_cmd_filenames_some_filenames

Function test_cmd_filenames_some_filenames

tests/commands/hazmat_test.py:25–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def test_cmd_filenames_some_filenames():
26 cmd, filenames = _cmd_filenames(('hello', 'world', '--', 'f1', 'f2'))
27 assert cmd == ('hello', 'world')
28 assert filenames == ('f1', 'f2')
29
30
31def test_cmd_filenames_multiple_dashdash():

Callers

nothing calls this directly

Calls 1

_cmd_filenamesFunction · 0.90

Tested by

no test coverage detected