MCPcopy Create free account
hub / github.com/github/gh-aw / TestBuildOrgUpdateIssueNoRelease

Function TestBuildOrgUpdateIssueNoRelease

pkg/cli/update_org_test.go:601–609  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

599}
600
601func 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}

Callers

nothing calls this directly

Calls 1

buildOrgUpdateIssueFunction · 0.85

Tested by

no test coverage detected