@@ -17,7 +17,7 @@ import (
1717func Test_GetPullRequest (t * testing.T ) {
1818 // Verify tool definition once
1919 mockClient := github .NewClient (nil )
20- tool , _ := getPullRequest (mockClient , translations .NullTranslationHelper )
20+ tool , _ := GetPullRequest (mockClient , translations .NullTranslationHelper )
2121
2222 assert .Equal (t , "get_pull_request" , tool .Name )
2323 assert .NotEmpty (t , tool .Description )
@@ -94,7 +94,7 @@ func Test_GetPullRequest(t *testing.T) {
9494 t .Run (tc .name , func (t * testing.T ) {
9595 // Setup client with mock
9696 client := github .NewClient (tc .mockedClient )
97- _ , handler := getPullRequest (client , translations .NullTranslationHelper )
97+ _ , handler := GetPullRequest (client , translations .NullTranslationHelper )
9898
9999 // Create call request
100100 request := createMCPRequest (tc .requestArgs )
@@ -129,7 +129,7 @@ func Test_GetPullRequest(t *testing.T) {
129129func Test_ListPullRequests (t * testing.T ) {
130130 // Verify tool definition once
131131 mockClient := github .NewClient (nil )
132- tool , _ := listPullRequests (mockClient , translations .NullTranslationHelper )
132+ tool , _ := ListPullRequests (mockClient , translations .NullTranslationHelper )
133133
134134 assert .Equal (t , "list_pull_requests" , tool .Name )
135135 assert .NotEmpty (t , tool .Description )
@@ -221,7 +221,7 @@ func Test_ListPullRequests(t *testing.T) {
221221 t .Run (tc .name , func (t * testing.T ) {
222222 // Setup client with mock
223223 client := github .NewClient (tc .mockedClient )
224- _ , handler := listPullRequests (client , translations .NullTranslationHelper )
224+ _ , handler := ListPullRequests (client , translations .NullTranslationHelper )
225225
226226 // Create call request
227227 request := createMCPRequest (tc .requestArgs )
@@ -259,7 +259,7 @@ func Test_ListPullRequests(t *testing.T) {
259259func Test_MergePullRequest (t * testing.T ) {
260260 // Verify tool definition once
261261 mockClient := github .NewClient (nil )
262- tool , _ := mergePullRequest (mockClient , translations .NullTranslationHelper )
262+ tool , _ := MergePullRequest (mockClient , translations .NullTranslationHelper )
263263
264264 assert .Equal (t , "merge_pull_request" , tool .Name )
265265 assert .NotEmpty (t , tool .Description )
@@ -336,7 +336,7 @@ func Test_MergePullRequest(t *testing.T) {
336336 t .Run (tc .name , func (t * testing.T ) {
337337 // Setup client with mock
338338 client := github .NewClient (tc .mockedClient )
339- _ , handler := mergePullRequest (client , translations .NullTranslationHelper )
339+ _ , handler := MergePullRequest (client , translations .NullTranslationHelper )
340340
341341 // Create call request
342342 request := createMCPRequest (tc .requestArgs )
@@ -370,7 +370,7 @@ func Test_MergePullRequest(t *testing.T) {
370370func Test_GetPullRequestFiles (t * testing.T ) {
371371 // Verify tool definition once
372372 mockClient := github .NewClient (nil )
373- tool , _ := getPullRequestFiles (mockClient , translations .NullTranslationHelper )
373+ tool , _ := GetPullRequestFiles (mockClient , translations .NullTranslationHelper )
374374
375375 assert .Equal (t , "get_pull_request_files" , tool .Name )
376376 assert .NotEmpty (t , tool .Description )
@@ -448,7 +448,7 @@ func Test_GetPullRequestFiles(t *testing.T) {
448448 t .Run (tc .name , func (t * testing.T ) {
449449 // Setup client with mock
450450 client := github .NewClient (tc .mockedClient )
451- _ , handler := getPullRequestFiles (client , translations .NullTranslationHelper )
451+ _ , handler := GetPullRequestFiles (client , translations .NullTranslationHelper )
452452
453453 // Create call request
454454 request := createMCPRequest (tc .requestArgs )
@@ -486,7 +486,7 @@ func Test_GetPullRequestFiles(t *testing.T) {
486486func Test_GetPullRequestStatus (t * testing.T ) {
487487 // Verify tool definition once
488488 mockClient := github .NewClient (nil )
489- tool , _ := getPullRequestStatus (mockClient , translations .NullTranslationHelper )
489+ tool , _ := GetPullRequestStatus (mockClient , translations .NullTranslationHelper )
490490
491491 assert .Equal (t , "get_pull_request_status" , tool .Name )
492492 assert .NotEmpty (t , tool .Description )
@@ -608,7 +608,7 @@ func Test_GetPullRequestStatus(t *testing.T) {
608608 t .Run (tc .name , func (t * testing.T ) {
609609 // Setup client with mock
610610 client := github .NewClient (tc .mockedClient )
611- _ , handler := getPullRequestStatus (client , translations .NullTranslationHelper )
611+ _ , handler := GetPullRequestStatus (client , translations .NullTranslationHelper )
612612
613613 // Create call request
614614 request := createMCPRequest (tc .requestArgs )
@@ -647,7 +647,7 @@ func Test_GetPullRequestStatus(t *testing.T) {
647647func Test_UpdatePullRequestBranch (t * testing.T ) {
648648 // Verify tool definition once
649649 mockClient := github .NewClient (nil )
650- tool , _ := updatePullRequestBranch (mockClient , translations .NullTranslationHelper )
650+ tool , _ := UpdatePullRequestBranch (mockClient , translations .NullTranslationHelper )
651651
652652 assert .Equal (t , "update_pull_request_branch" , tool .Name )
653653 assert .NotEmpty (t , tool .Description )
@@ -735,7 +735,7 @@ func Test_UpdatePullRequestBranch(t *testing.T) {
735735 t .Run (tc .name , func (t * testing.T ) {
736736 // Setup client with mock
737737 client := github .NewClient (tc .mockedClient )
738- _ , handler := updatePullRequestBranch (client , translations .NullTranslationHelper )
738+ _ , handler := UpdatePullRequestBranch (client , translations .NullTranslationHelper )
739739
740740 // Create call request
741741 request := createMCPRequest (tc .requestArgs )
@@ -763,7 +763,7 @@ func Test_UpdatePullRequestBranch(t *testing.T) {
763763func Test_GetPullRequestComments (t * testing.T ) {
764764 // Verify tool definition once
765765 mockClient := github .NewClient (nil )
766- tool , _ := getPullRequestComments (mockClient , translations .NullTranslationHelper )
766+ tool , _ := GetPullRequestComments (mockClient , translations .NullTranslationHelper )
767767
768768 assert .Equal (t , "get_pull_request_comments" , tool .Name )
769769 assert .NotEmpty (t , tool .Description )
@@ -851,7 +851,7 @@ func Test_GetPullRequestComments(t *testing.T) {
851851 t .Run (tc .name , func (t * testing.T ) {
852852 // Setup client with mock
853853 client := github .NewClient (tc .mockedClient )
854- _ , handler := getPullRequestComments (client , translations .NullTranslationHelper )
854+ _ , handler := GetPullRequestComments (client , translations .NullTranslationHelper )
855855
856856 // Create call request
857857 request := createMCPRequest (tc .requestArgs )
@@ -890,7 +890,7 @@ func Test_GetPullRequestComments(t *testing.T) {
890890func Test_GetPullRequestReviews (t * testing.T ) {
891891 // Verify tool definition once
892892 mockClient := github .NewClient (nil )
893- tool , _ := getPullRequestReviews (mockClient , translations .NullTranslationHelper )
893+ tool , _ := GetPullRequestReviews (mockClient , translations .NullTranslationHelper )
894894
895895 assert .Equal (t , "get_pull_request_reviews" , tool .Name )
896896 assert .NotEmpty (t , tool .Description )
@@ -974,7 +974,7 @@ func Test_GetPullRequestReviews(t *testing.T) {
974974 t .Run (tc .name , func (t * testing.T ) {
975975 // Setup client with mock
976976 client := github .NewClient (tc .mockedClient )
977- _ , handler := getPullRequestReviews (client , translations .NullTranslationHelper )
977+ _ , handler := GetPullRequestReviews (client , translations .NullTranslationHelper )
978978
979979 // Create call request
980980 request := createMCPRequest (tc .requestArgs )
@@ -1013,7 +1013,7 @@ func Test_GetPullRequestReviews(t *testing.T) {
10131013func Test_CreatePullRequestReview (t * testing.T ) {
10141014 // Verify tool definition once
10151015 mockClient := github .NewClient (nil )
1016- tool , _ := createPullRequestReview (mockClient , translations .NullTranslationHelper )
1016+ tool , _ := CreatePullRequestReview (mockClient , translations .NullTranslationHelper )
10171017
10181018 assert .Equal (t , "create_pull_request_review" , tool .Name )
10191019 assert .NotEmpty (t , tool .Description )
@@ -1341,7 +1341,7 @@ func Test_CreatePullRequestReview(t *testing.T) {
13411341 t .Run (tc .name , func (t * testing.T ) {
13421342 // Setup client with mock
13431343 client := github .NewClient (tc .mockedClient )
1344- _ , handler := createPullRequestReview (client , translations .NullTranslationHelper )
1344+ _ , handler := CreatePullRequestReview (client , translations .NullTranslationHelper )
13451345
13461346 // Create call request
13471347 request := createMCPRequest (tc .requestArgs )
@@ -1384,7 +1384,7 @@ func Test_CreatePullRequestReview(t *testing.T) {
13841384func Test_CreatePullRequest (t * testing.T ) {
13851385 // Verify tool definition once
13861386 mockClient := github .NewClient (nil )
1387- tool , _ := createPullRequest (mockClient , translations .NullTranslationHelper )
1387+ tool , _ := CreatePullRequest (mockClient , translations .NullTranslationHelper )
13881388
13891389 assert .Equal (t , "create_pull_request" , tool .Name )
13901390 assert .NotEmpty (t , tool .Description )
@@ -1496,7 +1496,7 @@ func Test_CreatePullRequest(t *testing.T) {
14961496 t .Run (tc .name , func (t * testing.T ) {
14971497 // Setup client with mock
14981498 client := github .NewClient (tc .mockedClient )
1499- _ , handler := createPullRequest (client , translations .NullTranslationHelper )
1499+ _ , handler := CreatePullRequest (client , translations .NullTranslationHelper )
15001500
15011501 // Create call request
15021502 request := createMCPRequest (tc .requestArgs )
0 commit comments