MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_rust_no_dangling_edges

Function test_rust_no_dangling_edges

tests/test_multilang.py:331–336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329 assert all(e.get("context") == "call" for e in call_edges)
330
331def test_rust_no_dangling_edges():
332 r = extract_rust(FIXTURES / "sample.rs")
333 node_ids = {n["id"] for n in r["nodes"]}
334 for e in r["edges"]:
335 if e["relation"] in ("contains", "method", "calls"):
336 assert e["source"] in node_ids
337
338
339def test_rust_trait_impl_emits_implements():

Callers

nothing calls this directly

Calls 1

extract_rustFunction · 0.90

Tested by

no test coverage detected