@@ -18,7 +18,7 @@ import (
1818func Test_GetIssue (t * testing.T ) {
1919 // Verify tool definition once
2020 mockClient := github .NewClient (nil )
21- tool , _ := getIssue (mockClient , translations .NullTranslationHelper )
21+ tool , _ := GetIssue (mockClient , translations .NullTranslationHelper )
2222
2323 assert .Equal (t , "get_issue" , tool .Name )
2424 assert .NotEmpty (t , tool .Description )
@@ -82,7 +82,7 @@ func Test_GetIssue(t *testing.T) {
8282 t .Run (tc .name , func (t * testing.T ) {
8383 // Setup client with mock
8484 client := github .NewClient (tc .mockedClient )
85- _ , handler := getIssue (client , translations .NullTranslationHelper )
85+ _ , handler := GetIssue (client , translations .NullTranslationHelper )
8686
8787 // Create call request
8888 request := createMCPRequest (tc .requestArgs )
@@ -114,7 +114,7 @@ func Test_GetIssue(t *testing.T) {
114114func Test_AddIssueComment (t * testing.T ) {
115115 // Verify tool definition once
116116 mockClient := github .NewClient (nil )
117- tool , _ := addIssueComment (mockClient , translations .NullTranslationHelper )
117+ tool , _ := AddIssueComment (mockClient , translations .NullTranslationHelper )
118118
119119 assert .Equal (t , "add_issue_comment" , tool .Name )
120120 assert .NotEmpty (t , tool .Description )
@@ -185,7 +185,7 @@ func Test_AddIssueComment(t *testing.T) {
185185 t .Run (tc .name , func (t * testing.T ) {
186186 // Setup client with mock
187187 client := github .NewClient (tc .mockedClient )
188- _ , handler := addIssueComment (client , translations .NullTranslationHelper )
188+ _ , handler := AddIssueComment (client , translations .NullTranslationHelper )
189189
190190 // Create call request
191191 request := mcp.CallToolRequest {
@@ -237,7 +237,7 @@ func Test_AddIssueComment(t *testing.T) {
237237func Test_SearchIssues (t * testing.T ) {
238238 // Verify tool definition once
239239 mockClient := github .NewClient (nil )
240- tool , _ := searchIssues (mockClient , translations .NullTranslationHelper )
240+ tool , _ := SearchIssues (mockClient , translations .NullTranslationHelper )
241241
242242 assert .Equal (t , "search_issues" , tool .Name )
243243 assert .NotEmpty (t , tool .Description )
@@ -352,7 +352,7 @@ func Test_SearchIssues(t *testing.T) {
352352 t .Run (tc .name , func (t * testing.T ) {
353353 // Setup client with mock
354354 client := github .NewClient (tc .mockedClient )
355- _ , handler := searchIssues (client , translations .NullTranslationHelper )
355+ _ , handler := SearchIssues (client , translations .NullTranslationHelper )
356356
357357 // Create call request
358358 request := createMCPRequest (tc .requestArgs )
@@ -393,7 +393,7 @@ func Test_SearchIssues(t *testing.T) {
393393func Test_CreateIssue (t * testing.T ) {
394394 // Verify tool definition once
395395 mockClient := github .NewClient (nil )
396- tool , _ := createIssue (mockClient , translations .NullTranslationHelper )
396+ tool , _ := CreateIssue (mockClient , translations .NullTranslationHelper )
397397
398398 assert .Equal (t , "create_issue" , tool .Name )
399399 assert .NotEmpty (t , tool .Description )
@@ -505,7 +505,7 @@ func Test_CreateIssue(t *testing.T) {
505505 t .Run (tc .name , func (t * testing.T ) {
506506 // Setup client with mock
507507 client := github .NewClient (tc .mockedClient )
508- _ , handler := createIssue (client , translations .NullTranslationHelper )
508+ _ , handler := CreateIssue (client , translations .NullTranslationHelper )
509509
510510 // Create call request
511511 request := createMCPRequest (tc .requestArgs )
@@ -546,7 +546,7 @@ func Test_CreateIssue(t *testing.T) {
546546
547547 // Check assignees if expected
548548 if len (tc .expectedIssue .Assignees ) > 0 {
549- assert .Equal (t , len (tc .expectedIssue .Assignees ), len (returnedIssue .Assignees ))
549+ assert .Equal (t , len (tc .expectedIssue .Assignees ), len (returnedIssue .Assignees )
550550 for i , assignee := range returnedIssue.Assignees {
551551 assert .Equal (t , * tc .expectedIssue .Assignees [i ].Login , * assignee .Login )
552552 }
@@ -566,7 +566,7 @@ func Test_CreateIssue(t *testing.T) {
566566func Test_ListIssues (t * testing.T ) {
567567 // Verify tool definition
568568 mockClient := github .NewClient (nil )
569- tool , _ := listIssues (mockClient , translations .NullTranslationHelper )
569+ tool , _ := ListIssues (mockClient , translations .NullTranslationHelper )
570570
571571 assert .Equal (t , "list_issues" , tool .Name )
572572 assert .NotEmpty (t , tool .Description )
@@ -697,7 +697,7 @@ func Test_ListIssues(t *testing.T) {
697697 t .Run (tc .name , func (t * testing.T ) {
698698 // Setup client with mock
699699 client := github .NewClient (tc .mockedClient )
700- _ , handler := listIssues (client , translations .NullTranslationHelper )
700+ _ , handler := ListIssues (client , translations .NullTranslationHelper )
701701
702702 // Create call request
703703 request := createMCPRequest (tc .requestArgs )
@@ -742,7 +742,7 @@ func Test_ListIssues(t *testing.T) {
742742func Test_UpdateIssue (t * testing.T ) {
743743 // Verify tool definition
744744 mockClient := github .NewClient (nil )
745- tool , _ := updateIssue (mockClient , translations .NullTranslationHelper )
745+ tool , _ := UpdateIssue (mockClient , translations .NullTranslationHelper )
746746
747747 assert .Equal (t , "update_issue" , tool .Name )
748748 assert .NotEmpty (t , tool .Description )
@@ -881,7 +881,7 @@ func Test_UpdateIssue(t *testing.T) {
881881 t .Run (tc .name , func (t * testing.T ) {
882882 // Setup client with mock
883883 client := github .NewClient (tc .mockedClient )
884- _ , handler := updateIssue (client , translations .NullTranslationHelper )
884+ _ , handler := UpdateIssue (client , translations .NullTranslationHelper )
885885
886886 // Create call request
887887 request := createMCPRequest (tc .requestArgs )
@@ -999,7 +999,7 @@ func Test_ParseISOTimestamp(t *testing.T) {
999999func Test_GetIssueComments (t * testing.T ) {
10001000 // Verify tool definition once
10011001 mockClient := github .NewClient (nil )
1002- tool , _ := getIssueComments (mockClient , translations .NullTranslationHelper )
1002+ tool , _ := GetIssueComments (mockClient , translations .NullTranslationHelper )
10031003
10041004 assert .Equal (t , "get_issue_comments" , tool .Name )
10051005 assert .NotEmpty (t , tool .Description )
@@ -1099,7 +1099,7 @@ func Test_GetIssueComments(t *testing.T) {
10991099 t .Run (tc .name , func (t * testing.T ) {
11001100 // Setup client with mock
11011101 client := github .NewClient (tc .mockedClient )
1102- _ , handler := getIssueComments (client , translations .NullTranslationHelper )
1102+ _ , handler := GetIssueComments (client , translations .NullTranslationHelper )
11031103
11041104 // Create call request
11051105 request := createMCPRequest (tc .requestArgs )
0 commit comments