MCPcopy Index your code
hub / github.com/github/github-mcp-server / unmarshalIFC

Function unmarshalIFC

pkg/github/issues_test.go:1066–1074  ·  view source on GitHub ↗
(t *testing.T, ifcLabel any)

Source from the content-addressed store, hash-verified

1064}
1065
1066func unmarshalIFC(t *testing.T, ifcLabel any) map[string]any {
1067 t.Helper()
1068 require.NotNil(t, ifcLabel, "ifc label should be present")
1069 ifcJSON, err := json.Marshal(ifcLabel)
1070 require.NoError(t, err)
1071 var ifcMap map[string]any
1072 require.NoError(t, json.Unmarshal(ifcJSON, &ifcMap))
1073 return ifcMap
1074}
1075
1076func Test_SearchIssues_FieldValuesEnrichment(t *testing.T) {
1077 serverTool := SearchIssues(translations.NullTranslationHelper)

Calls

no outgoing calls

Tested by

no test coverage detected