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 2bb3f88 commit ecb82d1Copy full SHA for ecb82d1
pkg/github/repository_resource_test.go
@@ -94,7 +94,6 @@ func Test_repositoryResourceContentsHandler(t *testing.T) {
94
requestArgs map[string]any
95
expectError string
96
expectedResult any
97
- expectedErrMsg string
98
}{
99
{
100
name: "missing owner",
@@ -233,7 +232,7 @@ func Test_repositoryResourceContentsHandler(t *testing.T) {
233
232
resp, err := handler(context.TODO(), request)
234
235
if tc.expectError != "" {
236
- require.ErrorContains(t, err, tc.expectedErrMsg)
+ require.ErrorContains(t, err, tc.expectError)
237
return
238
}
239
0 commit comments