(t *testing.T)
| 82 | } |
| 83 | |
| 84 | func TestCommonWorkflowNamesAreValid(t *testing.T) { |
| 85 | // Ensure all suggested workflow names are themselves valid |
| 86 | if len(commonWorkflowNames) == 0 { |
| 87 | t.Error("commonWorkflowNames should not be empty") |
| 88 | } |
| 89 | |
| 90 | for _, name := range commonWorkflowNames { |
| 91 | if err := ValidateWorkflowName(name); err != nil { |
| 92 | t.Errorf("commonWorkflowNames contains invalid workflow name: %q (error: %v)", name, err) |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | func TestCommonWorkflowNamesHasExpectedPatterns(t *testing.T) { |
| 98 | // Verify that common workflow patterns are included |
nothing calls this directly
no test coverage detected