Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitecb82d1

Browse files
committed
Fix incorrect repo resource table test
1 parent2bb3f88 commitecb82d1

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
requestArgsmap[string]any
9595
expectErrorstring
9696
expectedResultany
97-
expectedErrMsgstring
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
iftc.expectError!="" {
236-
require.ErrorContains(t,err,tc.expectedErrMsg)
235+
require.ErrorContains(t,err,tc.expectError)
237236
return
238237
}
239238

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp