@@ -16,7 +16,7 @@ import (
16
16
func Test_SearchRepositories (t * testing.T ) {
17
17
// Verify tool definition once
18
18
mockClient := github .NewClient (nil )
19
- tool , _ := searchRepositories (mockClient , translations .NullTranslationHelper )
19
+ tool , _ := SearchRepositories (mockClient , translations .NullTranslationHelper )
20
20
21
21
assert .Equal (t , "search_repositories" , tool .Name )
22
22
assert .NotEmpty (t , tool .Description )
@@ -122,7 +122,7 @@ func Test_SearchRepositories(t *testing.T) {
122
122
t .Run (tc .name , func (t * testing.T ) {
123
123
// Setup client with mock
124
124
client := github .NewClient (tc .mockedClient )
125
- _ , handler := searchRepositories (client , translations .NullTranslationHelper )
125
+ _ , handler := SearchRepositories (client , translations .NullTranslationHelper )
126
126
127
127
// Create call request
128
128
request := createMCPRequest (tc .requestArgs )
@@ -163,7 +163,7 @@ func Test_SearchRepositories(t *testing.T) {
163
163
func Test_SearchCode (t * testing.T ) {
164
164
// Verify tool definition once
165
165
mockClient := github .NewClient (nil )
166
- tool , _ := searchCode (mockClient , translations .NullTranslationHelper )
166
+ tool , _ := SearchCode (mockClient , translations .NullTranslationHelper )
167
167
168
168
assert .Equal (t , "search_code" , tool .Name )
169
169
assert .NotEmpty (t , tool .Description )
@@ -273,7 +273,7 @@ func Test_SearchCode(t *testing.T) {
273
273
t .Run (tc .name , func (t * testing.T ) {
274
274
// Setup client with mock
275
275
client := github .NewClient (tc .mockedClient )
276
- _ , handler := searchCode (client , translations .NullTranslationHelper )
276
+ _ , handler := SearchCode (client , translations .NullTranslationHelper )
277
277
278
278
// Create call request
279
279
request := createMCPRequest (tc .requestArgs )
@@ -314,7 +314,7 @@ func Test_SearchCode(t *testing.T) {
314
314
func Test_SearchUsers (t * testing.T ) {
315
315
// Verify tool definition once
316
316
mockClient := github .NewClient (nil )
317
- tool , _ := searchUsers (mockClient , translations .NullTranslationHelper )
317
+ tool , _ := SearchUsers (mockClient , translations .NullTranslationHelper )
318
318
319
319
assert .Equal (t , "search_users" , tool .Name )
320
320
assert .NotEmpty (t , tool .Description )
@@ -428,7 +428,7 @@ func Test_SearchUsers(t *testing.T) {
428
428
t .Run (tc .name , func (t * testing.T ) {
429
429
// Setup client with mock
430
430
client := github .NewClient (tc .mockedClient )
431
- _ , handler := searchUsers (client , translations .NullTranslationHelper )
431
+ _ , handler := SearchUsers (client , translations .NullTranslationHelper )
432
432
433
433
// Create call request
434
434
request := createMCPRequest (tc .requestArgs )
0 commit comments