We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32fb743 commit d3ab0eaCopy full SHA for d3ab0ea
pkg/inventory/registry_test.go
@@ -2045,10 +2045,11 @@ func TestStripMetaKeys(t *testing.T) {
2045
expectedMeta: map[string]any{"description": "kept"},
2046
},
2047
{
2048
- name: "ui is nil value - no change (nil value means key not present)",
+ name: "ui is nil value - ui stripped",
2049
meta: map[string]any{"ui": nil, "description": "kept"},
2050
keys: mcpAppsMetaKeys,
2051
- expectChange: false,
+ expectChange: true,
2052
+ expectedMeta: map[string]any{"description": "kept"},
2053
2054
2055
name: "empty keys list - no change",
0 commit comments