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

Function test_golang_system

tests/languages/golang_test.py:96–100  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

94
95
96def test_golang_system(tmp_path):
97 _make_hello_world(tmp_path)
98
99 ret = run_language(tmp_path, golang, 'golang-hello-world')
100 assert ret == (0, b'hello world\n')
101
102
103def test_golang_default_version(tmp_path):

Calls 2

run_languageFunction · 0.90
_make_hello_worldFunction · 0.70

Tested by

no test coverage detected