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

Function test_dart_additional_deps

tests/languages/dart_test.py:40–49  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

38
39
40def test_dart_additional_deps(tmp_path):
41 _make_local_repo(str(tmp_path))
42
43 ret = run_language(
44 tmp_path,
45 dart,
46 'hello-world-dart',
47 deps=('hello_world_dart',),
48 )
49 assert ret == (0, b'hello hello world\n')
50
51
52def test_dart_additional_deps_versioned(tmp_path):

Callers

nothing calls this directly

Calls 2

_make_local_repoFunction · 0.90
run_languageFunction · 0.90

Tested by

no test coverage detected