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

Function TestResolverResolvePullRequestNoSourcesUnlinked

pkg/intent/resolver_test.go:81–89  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

79}
80
81func TestResolverResolvePullRequestNoSourcesUnlinked(t *testing.T) {
82 resolver := Resolver{}
83
84 intent := resolver.ResolvePullRequest(PullRequestData{})
85
86 assert.Equal(t, AttributionUnlinked, intent.Status)
87 assert.Equal(t, SourceNone, intent.Source)
88 assert.Equal(t, "no_supported_intent_source", intent.Rule)
89}
90
91func TestResolverResolvePullRequestMultipleClosingIssuesAmbiguous(t *testing.T) {
92 resolver := Resolver{}

Callers

nothing calls this directly

Calls 1

ResolvePullRequestMethod · 0.95

Tested by

no test coverage detected