MCPcopy Create free account
hub / github.com/github/gh-aw / TestComputeMCPToolsDiff_BothNil

Function TestComputeMCPToolsDiff_BothNil

pkg/cli/audit_diff_test.go:468–475  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

466}
467
468func TestComputeMCPToolsDiff_BothNil(t *testing.T) {
469 diff := computeMCPToolsDiff(nil, nil)
470
471 assert.Empty(t, diff.NewTools, "Should have no new tools")
472 assert.Empty(t, diff.RemovedTools, "Should have no removed tools")
473 assert.Empty(t, diff.ChangedTools, "Should have no changed tools")
474 assert.False(t, diff.Summary.HasAnomalies, "Should have no anomalies")
475}
476
477func TestComputeMCPToolsDiff_NoChanges(t *testing.T) {
478 toolSummary := []MCPToolSummary{

Callers

nothing calls this directly

Calls 1

computeMCPToolsDiffFunction · 0.85

Tested by

no test coverage detected