(t *testing.T)
| 181 | } |
| 182 | |
| 183 | func TestBuildAutoUpdateSeed(t *testing.T) { |
| 184 | assert.Equal(t, "owner/repo/agentic-auto-upgrade", buildAutoUpdateSeed("owner/repo")) |
| 185 | assert.Equal(t, "agentic-auto-upgrade", buildAutoUpdateSeed("")) |
| 186 | } |
| 187 | |
| 188 | // extractCronLine returns the cron expression from the first `- cron:` line in the YAML. |
| 189 | func extractCronLine(content string) string { |
nothing calls this directly
no test coverage detected