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

Function TestComputeToolCallsDiff_BothEmpty

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

Source from the content-addressed store, hash-verified

1075}
1076
1077func TestComputeToolCallsDiff_BothEmpty(t *testing.T) {
1078 m1 := &LogMetrics{}
1079 m2 := &LogMetrics{}
1080 result := computeToolCallsDiff(m1, m2)
1081 assert.Nil(t, result, "Should return nil when both metrics have no tool calls")
1082}
1083
1084func TestComputeToolCallsDiff_DuplicateToolNames(t *testing.T) {
1085 // When the same tool name appears multiple times (e.g. metrics aggregated from multiple log files),

Callers

nothing calls this directly

Calls 1

computeToolCallsDiffFunction · 0.85

Tested by

no test coverage detected