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

Function test_ruby_hook_default

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

Source from the content-addressed store, hash-verified

99
100@xfailif_windows # pragma: win32 no cover
101def test_ruby_hook_default(tmp_path):
102 _setup_hello_world(tmp_path)
103
104 out, ret = run_language(tmp_path, ruby, 'rbenv --help', version='default')
105 assert out == 0
106 assert ret.startswith(b'Usage: rbenv ')
107
108
109@xfailif_windows # pragma: win32 no cover

Callers

nothing calls this directly

Calls 2

run_languageFunction · 0.90
_setup_hello_worldFunction · 0.85

Tested by

no test coverage detected