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

Function TestComputeToolCallsDiff_BothNil

pkg/cli/audit_diff_test.go:1072–1075  ·  view source on GitHub ↗

--- Tool calls diff tests ---

(t *testing.T)

Source from the content-addressed store, hash-verified

1070// --- Tool calls diff tests ---
1071
1072func TestComputeToolCallsDiff_BothNil(t *testing.T) {
1073 result := computeToolCallsDiff(nil, nil)
1074 assert.Nil(t, result, "Should return nil when both metrics are nil")
1075}
1076
1077func TestComputeToolCallsDiff_BothEmpty(t *testing.T) {
1078 m1 := &LogMetrics{}

Callers

nothing calls this directly

Calls 1

computeToolCallsDiffFunction · 0.85

Tested by

no test coverage detected