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

Function TestLabelGist

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

Source from the content-addressed store, hash-verified

246}
247
248func TestLabelGist(t *testing.T) {
249 t.Parallel()
250
251 t.Run("public gist is untrusted and public", func(t *testing.T) {
252 t.Parallel()
253 label := LabelGist()
254 assert.Equal(t, IntegrityUntrusted, label.Integrity)
255 assert.Equal(t, ConfidentialityPublic, label.Confidentiality)
256 })
257
258 t.Run("secret gist is untrusted and public", func(t *testing.T) {
259 t.Parallel()
260 label := LabelGist()
261 assert.Equal(t, IntegrityUntrusted, label.Integrity)
262 assert.Equal(t, ConfidentialityPublic, label.Confidentiality)
263 })
264}
265
266func TestLabelGistList(t *testing.T) {
267 t.Parallel()

Callers

nothing calls this directly

Calls 1

LabelGistFunction · 0.85

Tested by

no test coverage detected