@@ -16,7 +16,7 @@ import (
1616func Test_SearchRepositories (t * testing.T ) {
1717 // Verify tool definition once
1818 mockClient := github .NewClient (nil )
19- tool , _ := searchRepositories (mockClient , translations .NullTranslationHelper )
19+ tool , _ := SearchRepositories (mockClient , translations .NullTranslationHelper )
2020
2121 assert .Equal (t , "search_repositories" , tool .Name )
2222 assert .NotEmpty (t , tool .Description )
@@ -122,7 +122,7 @@ func Test_SearchRepositories(t *testing.T) {
122122 t .Run (tc .name , func (t * testing.T ) {
123123 // Setup client with mock
124124 client := github .NewClient (tc .mockedClient )
125- _ , handler := searchRepositories (client , translations .NullTranslationHelper )
125+ _ , handler := SearchRepositories (client , translations .NullTranslationHelper )
126126
127127 // Create call request
128128 request := createMCPRequest (tc .requestArgs )
@@ -163,7 +163,7 @@ func Test_SearchRepositories(t *testing.T) {
163163func Test_SearchCode (t * testing.T ) {
164164 // Verify tool definition once
165165 mockClient := github .NewClient (nil )
166- tool , _ := searchCode (mockClient , translations .NullTranslationHelper )
166+ tool , _ := SearchCode (mockClient , translations .NullTranslationHelper )
167167
168168 assert .Equal (t , "search_code" , tool .Name )
169169 assert .NotEmpty (t , tool .Description )
@@ -273,7 +273,7 @@ func Test_SearchCode(t *testing.T) {
273273 t .Run (tc .name , func (t * testing.T ) {
274274 // Setup client with mock
275275 client := github .NewClient (tc .mockedClient )
276- _ , handler := searchCode (client , translations .NullTranslationHelper )
276+ _ , handler := SearchCode (client , translations .NullTranslationHelper )
277277
278278 // Create call request
279279 request := createMCPRequest (tc .requestArgs )
@@ -314,7 +314,7 @@ func Test_SearchCode(t *testing.T) {
314314func Test_SearchUsers (t * testing.T ) {
315315 // Verify tool definition once
316316 mockClient := github .NewClient (nil )
317- tool , _ := searchUsers (mockClient , translations .NullTranslationHelper )
317+ tool , _ := SearchUsers (mockClient , translations .NullTranslationHelper )
318318
319319 assert .Equal (t , "search_users" , tool .Name )
320320 assert .NotEmpty (t , tool .Description )
@@ -428,7 +428,7 @@ func Test_SearchUsers(t *testing.T) {
428428 t .Run (tc .name , func (t * testing.T ) {
429429 // Setup client with mock
430430 client := github .NewClient (tc .mockedClient )
431- _ , handler := searchUsers (client , translations .NullTranslationHelper )
431+ _ , handler := SearchUsers (client , translations .NullTranslationHelper )
432432
433433 // Create call request
434434 request := createMCPRequest (tc .requestArgs )
0 commit comments