MCPcopy
hub / github.com/github/github-mcp-server / TestLabelGlobalSecurityAdvisory

Function TestLabelGlobalSecurityAdvisory

pkg/ifc/ifc_test.go:207–212  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

205}
206
207func TestLabelGlobalSecurityAdvisory(t *testing.T) {
208 t.Parallel()
209 label := LabelGlobalSecurityAdvisory()
210 assert.Equal(t, IntegrityUntrusted, label.Integrity)
211 assert.Equal(t, ConfidentialityPublic, label.Confidentiality)
212}
213
214func TestLabelRepositorySecurityAdvisory(t *testing.T) {
215 t.Parallel()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected