MCPcopy
hub / github.com/pre-commit/pre-commit / test_run_empty

Function test_run_empty

tests/languages/haskell_test.py:46–50  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

44
45
46def test_run_empty(tmp_path):
47 with pytest.raises(FatalError) as excinfo:
48 run_language(tmp_path, haskell, 'example')
49 msg, = excinfo.value.args
50 assert msg == 'Expected .cabal files or additional_dependencies'

Callers

nothing calls this directly

Calls 1

run_languageFunction · 0.90

Tested by

no test coverage detected