(t *testing.T)
| 136 | } |
| 137 | |
| 138 | func TestBuildDeployPRMetadata_SingleWorkflow(t *testing.T) { |
| 139 | title, body := buildDeployPRMetadata([]string{"githubnext/agentics/ci-doctor"}, "owner/repo") |
| 140 | assert.Equal(t, deployCommitMessage, title) |
| 141 | assert.Contains(t, body, "Deploy ci-doctor to owner/repo.") |
| 142 | assert.Contains(t, body, "compile --purge") |
| 143 | } |
| 144 | |
| 145 | func TestBuildDeployPRMetadata_MultipleWorkflows(t *testing.T) { |
| 146 | title, body := buildDeployPRMetadata([]string{"a", "b", "c"}, "owner/repo") |
nothing calls this directly
no test coverage detected