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

Function test_dart_additional_deps_versioned

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

Source from the content-addressed store, hash-verified

50
51
52def test_dart_additional_deps_versioned(tmp_path):
53 _make_local_repo(str(tmp_path))
54
55 ret, out = run_language(
56 tmp_path,
57 dart,
58 'secure-random -l 4 -b 16',
59 deps=('encrypt:5.0.0',),
60 )
61 assert ret == 0
62 re_assert.Matches('^[a-f0-9]{8}\n$').assert_matches(out.decode())

Callers

nothing calls this directly

Calls 2

_make_local_repoFunction · 0.90
run_languageFunction · 0.90

Tested by

no test coverage detected