We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f76807b commit 4bdf0a4Copy full SHA for 4bdf0a4
pkg/github/repositories_test.go
@@ -3282,19 +3282,6 @@ func Test_resolveGitReference(t *testing.T) {
3282
},
3283
expectError: false,
3284
3285
- {
3286
- name: "ref looks like short SHA with empty sha parameter",
3287
- ref: "abc123d",
3288
- sha: "",
3289
- mockSetup: func() *http.Client {
3290
- // No API calls should be made when ref looks like SHA
3291
- return mock.NewMockedHTTPClient()
3292
- },
3293
- expectedOutput: &raw.ContentOpts{
3294
- SHA: "abc123d",
3295
3296
- expectError: false,
3297
3298
}
3299
3300
for _, tc := range tests {
0 commit comments