TestBuildCustomScriptFilesStepEmpty verifies nil return for empty scripts
(t *testing.T)
| 282 | |
| 283 | // TestBuildCustomScriptFilesStepEmpty verifies nil return for empty scripts |
| 284 | func TestBuildCustomScriptFilesStepEmpty(t *testing.T) { |
| 285 | steps, err := buildCustomScriptFilesStep(nil) |
| 286 | require.NoError(t, err, "Should not return error for nil scripts") |
| 287 | assert.Nil(t, steps, "Should return nil for empty scripts") |
| 288 | |
| 289 | stepsEmpty, err := buildCustomScriptFilesStep(map[string]*SafeScriptConfig{}) |
| 290 | require.NoError(t, err, "Should not return error for empty map") |
| 291 | assert.Nil(t, stepsEmpty, "Should return nil for empty map") |
| 292 | } |
| 293 | |
| 294 | // TestHandlerManagerStepIncludesScriptsEnvVar verifies GH_AW_SAFE_OUTPUT_SCRIPTS in handler manager |
| 295 | func TestHandlerManagerStepIncludesScriptsEnvVar(t *testing.T) { |
nothing calls this directly
no test coverage detected