(t *testing.T)
| 706 | } |
| 707 | |
| 708 | func TestIsEmptyMCPToolsDiff(t *testing.T) { |
| 709 | assert.True(t, isEmptyMCPToolsDiff(&MCPToolsDiff{}), "Empty MCPToolsDiff should be detected") |
| 710 | assert.False(t, isEmptyMCPToolsDiff(&MCPToolsDiff{ |
| 711 | NewTools: []MCPToolDiffEntry{{ToolName: "test"}}, |
| 712 | }), "Non-empty MCPToolsDiff should not be detected as empty") |
| 713 | } |
| 714 | |
| 715 | func TestIsEmptyAuditDiff(t *testing.T) { |
| 716 | assert.True(t, isEmptyAuditDiff(&AuditDiff{}), "Empty AuditDiff should be detected") |
nothing calls this directly
no test coverage detected