Skip to content

Commit 9a46dbd

Browse files
committed
fix: rename to exported function
1 parent 57d2a42 commit 9a46dbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/github/pullrequests_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func Test_GetPullRequest(t *testing.T) {
129129
func Test_UpdatePullRequest(t *testing.T) {
130130
// Verify tool definition once
131131
mockClient := github.NewClient(nil)
132-
tool, _ := updatePullRequest(mockClient, translations.NullTranslationHelper)
132+
tool, _ := UpdatePullRequest(mockClient, translations.NullTranslationHelper)
133133

134134
assert.Equal(t, "update_pull_request", tool.Name)
135135
assert.NotEmpty(t, tool.Description)
@@ -257,7 +257,7 @@ func Test_UpdatePullRequest(t *testing.T) {
257257
t.Run(tc.name, func(t *testing.T) {
258258
// Setup client with mock
259259
client := github.NewClient(tc.mockedClient)
260-
_, handler := updatePullRequest(client, translations.NullTranslationHelper)
260+
_, handler := UpdatePullRequest(client, translations.NullTranslationHelper)
261261

262262
// Create call request
263263
request := createMCPRequest(tc.requestArgs)

0 commit comments

Comments
 (0)