MCPcopy
hub / github.com/safishamsi/graphify / test_go_emits_calls

Function test_go_emits_calls

tests/test_multilang.py:81–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 assert any("NewServer" in l for l in _labels(r))
80
81def test_go_emits_calls():
82 r = extract_go(FIXTURES / "sample.go")
83 # main() calls NewServer and Start
84 assert len(_call_pairs(r)) > 0
85
86def test_go_has_inferred_calls():
87 r = extract_go(FIXTURES / "sample.go")

Callers

nothing calls this directly

Calls 2

extract_goFunction · 0.90
_call_pairsFunction · 0.85

Tested by

no test coverage detected