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

Function test_ruby_additional_deps

tests/languages/ruby_test.py:87–97  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

85
86
87def test_ruby_additional_deps(tmp_path):
88 _make_local_repo(tmp_path)
89
90 ret = run_language(
91 tmp_path,
92 ruby,
93 'ruby -e',
94 args=('require "jmespath"',),
95 deps=('jmespath',),
96 )
97 assert ret == (0, b'')
98
99
100@xfailif_windows # pragma: win32 no cover

Callers

nothing calls this directly

Calls 2

_make_local_repoFunction · 0.90
run_languageFunction · 0.90

Tested by

no test coverage detected