Skip to content

Commit 7e026fc

Browse files
committed
Fix incorrect repo resource table test
1 parent 11ea4e2 commit 7e026fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/github/repository_resource_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ func Test_repositoryResourceContentsHandler(t *testing.T) {
9494
requestArgs map[string]any
9595
expectError string
9696
expectedResult any
97-
expectedErrMsg string
9897
}{
9998
{
10099
name: "missing owner",
@@ -233,7 +232,7 @@ func Test_repositoryResourceContentsHandler(t *testing.T) {
233232
resp, err := handler(context.TODO(), request)
234233

235234
if tc.expectError != "" {
236-
require.ErrorContains(t, err, tc.expectedErrMsg)
235+
require.ErrorContains(t, err, tc.expectError)
237236
return
238237
}
239238

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy