(t *testing.T)
| 599 | } |
| 600 | |
| 601 | func TestBuildOrgUpdateIssueNoRelease(t *testing.T) { |
| 602 | _, body := buildOrgUpdateIssue(orgRepoPreview{ |
| 603 | Repo: "octo/repo", |
| 604 | Workflows: []orgWorkflowPreview{{Name: "wf", CurrentRef: "aaa", LatestRef: "bbb"}}, |
| 605 | }, "", "", "<!-- gh-aw-update: latest -->") |
| 606 | |
| 607 | assert.Contains(t, body, "<!-- gh-aw-update: latest -->") |
| 608 | assert.NotContains(t, body, "View gh-aw release") |
| 609 | } |
nothing calls this directly
no test coverage detected