TestCustomTemplateVariable verifies custom template variable
(t *testing.T)
| 1461 | |
| 1462 | // TestCustomTemplateVariable verifies custom template variable |
| 1463 | func TestCustomTemplateVariable(t *testing.T) { |
| 1464 | wf := unmarshalWf(customVariableInput) |
| 1465 | err := ValidateWorkflow(logging.TestContext(t.Context()), wftmplGetter, cwftmplGetter, wf, nil, ValidateOpts{Lint: true}) |
| 1466 | require.NoError(t, err) |
| 1467 | } |
| 1468 | |
| 1469 | var templateRefTarget = ` |
| 1470 | apiVersion: argoproj.io/v1alpha1 |
nothing calls this directly
no test coverage detected