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

Function test_cmd_filenames_no_filenames

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

Source from the content-addressed store, hash-verified

17
18
19def test_cmd_filenames_no_filenames():
20 cmd, filenames = _cmd_filenames(('hello', 'world', '--'))
21 assert cmd == ('hello', 'world')
22 assert filenames == ()
23
24
25def test_cmd_filenames_some_filenames():

Callers

nothing calls this directly

Calls 1

_cmd_filenamesFunction · 0.90

Tested by

no test coverage detected