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

Function TestSourceRepoLabel_Empty

pkg/cli/remote_workflow_test.go:1552–1554  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1550}
1551
1552func TestSourceRepoLabel_Empty(t *testing.T) {
1553 assert.Equal(t, "(no source field)", sourceRepoLabel(""), "empty repo should return placeholder label")
1554}
1555
1556func TestReadSourceRepoFromFile_ValidSource(t *testing.T) {
1557 dir := t.TempDir()

Callers

nothing calls this directly

Calls 1

sourceRepoLabelFunction · 0.85

Tested by

no test coverage detected