(t *testing.T)
| 197 | } |
| 198 | |
| 199 | func TestLabelSecurityAlert(t *testing.T) { |
| 200 | t.Parallel() |
| 201 | label := LabelSecurityAlert() |
| 202 | assert.Equal(t, IntegrityUntrusted, label.Integrity) |
| 203 | assert.Equal(t, ConfidentialityPrivate, label.Confidentiality, |
| 204 | "security alerts are access-restricted regardless of repo visibility") |
| 205 | } |
| 206 | |
| 207 | func TestLabelGlobalSecurityAdvisory(t *testing.T) { |
| 208 | t.Parallel() |
nothing calls this directly
no test coverage detected