Skip to content

Commit 4bdf0a4

Browse files
committed
Remove test for short sha
1 parent f76807b commit 4bdf0a4

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pkg/github/repositories_test.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,19 +3282,6 @@ func Test_resolveGitReference(t *testing.T) {
32823282
},
32833283
expectError: false,
32843284
},
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-
},
32983285
}
32993286

33003287
for _, tc := range tests {

0 commit comments

Comments
 (0)