(t *testing.T)
| 2209 | } |
| 2210 | |
| 2211 | func TestSecurityAndAnalysis_String(t *testing.T) { |
| 2212 | t.Parallel() |
| 2213 | v := SecurityAndAnalysis{ |
| 2214 | AdvancedSecurity: &AdvancedSecurity{}, |
| 2215 | SecretScanning: &SecretScanning{}, |
| 2216 | SecretScanningPushProtection: &SecretScanningPushProtection{}, |
| 2217 | DependabotSecurityUpdates: &DependabotSecurityUpdates{}, |
| 2218 | SecretScanningValidityChecks: &SecretScanningValidityChecks{}, |
| 2219 | CodeSecurity: &CodeSecurity{}, |
| 2220 | } |
| 2221 | want := `github.SecurityAndAnalysis{AdvancedSecurity:github.AdvancedSecurity{}, SecretScanning:github.SecretScanning{}, SecretScanningPushProtection:github.SecretScanningPushProtection{}, DependabotSecurityUpdates:github.DependabotSecurityUpdates{}, SecretScanningValidityChecks:github.SecretScanningValidityChecks{}, CodeSecurity:github.CodeSecurity{}}` |
| 2222 | if got := v.String(); got != want { |
| 2223 | t.Errorf("SecurityAndAnalysis.String = %v, want %v", got, want) |
| 2224 | } |
| 2225 | } |
| 2226 | |
| 2227 | func TestSelfHostRunnerPermissionsEnterprise_String(t *testing.T) { |
| 2228 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…