@@ -18,7 +18,7 @@ import (
1818func Test_GetFileContents (t * testing.T ) {
1919 // Verify tool definition once
2020 mockClient := github .NewClient (nil )
21- tool , _ := getFileContents (mockClient , translations .NullTranslationHelper )
21+ tool , _ := GetFileContents (mockClient , translations .NullTranslationHelper )
2222
2323 assert .Equal (t , "get_file_contents" , tool .Name )
2424 assert .NotEmpty (t , tool .Description )
@@ -132,7 +132,7 @@ func Test_GetFileContents(t *testing.T) {
132132 t .Run (tc .name , func (t * testing.T ) {
133133 // Setup client with mock
134134 client := github .NewClient (tc .mockedClient )
135- _ , handler := getFileContents (client , translations .NullTranslationHelper )
135+ _ , handler := GetFileContents (client , translations .NullTranslationHelper )
136136
137137 // Create call request
138138 request := mcp.CallToolRequest {
@@ -189,7 +189,7 @@ func Test_GetFileContents(t *testing.T) {
189189func Test_ForkRepository (t * testing.T ) {
190190 // Verify tool definition once
191191 mockClient := github .NewClient (nil )
192- tool , _ := forkRepository (mockClient , translations .NullTranslationHelper )
192+ tool , _ := ForkRepository (mockClient , translations .NullTranslationHelper )
193193
194194 assert .Equal (t , "fork_repository" , tool .Name )
195195 assert .NotEmpty (t , tool .Description )
@@ -259,7 +259,7 @@ func Test_ForkRepository(t *testing.T) {
259259 t .Run (tc .name , func (t * testing.T ) {
260260 // Setup client with mock
261261 client := github .NewClient (tc .mockedClient )
262- _ , handler := forkRepository (client , translations .NullTranslationHelper )
262+ _ , handler := ForkRepository (client , translations .NullTranslationHelper )
263263
264264 // Create call request
265265 request := createMCPRequest (tc .requestArgs )
@@ -287,7 +287,7 @@ func Test_ForkRepository(t *testing.T) {
287287func Test_CreateBranch (t * testing.T ) {
288288 // Verify tool definition once
289289 mockClient := github .NewClient (nil )
290- tool , _ := createBranch (mockClient , translations .NullTranslationHelper )
290+ tool , _ := CreateBranch (mockClient , translations .NullTranslationHelper )
291291
292292 assert .Equal (t , "create_branch" , tool .Name )
293293 assert .NotEmpty (t , tool .Description )
@@ -445,7 +445,7 @@ func Test_CreateBranch(t *testing.T) {
445445 t .Run (tc .name , func (t * testing.T ) {
446446 // Setup client with mock
447447 client := github .NewClient (tc .mockedClient )
448- _ , handler := createBranch (client , translations .NullTranslationHelper )
448+ _ , handler := CreateBranch (client , translations .NullTranslationHelper )
449449
450450 // Create call request
451451 request := createMCPRequest (tc .requestArgs )
@@ -478,7 +478,7 @@ func Test_CreateBranch(t *testing.T) {
478478func Test_ListCommits (t * testing.T ) {
479479 // Verify tool definition once
480480 mockClient := github .NewClient (nil )
481- tool , _ := listCommits (mockClient , translations .NullTranslationHelper )
481+ tool , _ := ListCommits (mockClient , translations .NullTranslationHelper )
482482
483483 assert .Equal (t , "list_commits" , tool .Name )
484484 assert .NotEmpty (t , tool .Description )
@@ -614,7 +614,7 @@ func Test_ListCommits(t *testing.T) {
614614 t .Run (tc .name , func (t * testing.T ) {
615615 // Setup client with mock
616616 client := github .NewClient (tc .mockedClient )
617- _ , handler := listCommits (client , translations .NullTranslationHelper )
617+ _ , handler := ListCommits (client , translations .NullTranslationHelper )
618618
619619 // Create call request
620620 request := createMCPRequest (tc .requestArgs )
@@ -652,7 +652,7 @@ func Test_ListCommits(t *testing.T) {
652652func Test_CreateOrUpdateFile (t * testing.T ) {
653653 // Verify tool definition once
654654 mockClient := github .NewClient (nil )
655- tool , _ := createOrUpdateFile (mockClient , translations .NullTranslationHelper )
655+ tool , _ := CreateOrUpdateFile (mockClient , translations .NullTranslationHelper )
656656
657657 assert .Equal (t , "create_or_update_file" , tool .Name )
658658 assert .NotEmpty (t , tool .Description )
@@ -775,7 +775,7 @@ func Test_CreateOrUpdateFile(t *testing.T) {
775775 t .Run (tc .name , func (t * testing.T ) {
776776 // Setup client with mock
777777 client := github .NewClient (tc .mockedClient )
778- _ , handler := createOrUpdateFile (client , translations .NullTranslationHelper )
778+ _ , handler := CreateOrUpdateFile (client , translations .NullTranslationHelper )
779779
780780 // Create call request
781781 request := createMCPRequest (tc .requestArgs )
@@ -815,7 +815,7 @@ func Test_CreateOrUpdateFile(t *testing.T) {
815815func Test_CreateRepository (t * testing.T ) {
816816 // Verify tool definition once
817817 mockClient := github .NewClient (nil )
818- tool , _ := createRepository (mockClient , translations .NullTranslationHelper )
818+ tool , _ := CreateRepository (mockClient , translations .NullTranslationHelper )
819819
820820 assert .Equal (t , "create_repository" , tool .Name )
821821 assert .NotEmpty (t , tool .Description )
@@ -923,7 +923,7 @@ func Test_CreateRepository(t *testing.T) {
923923 t .Run (tc .name , func (t * testing.T ) {
924924 // Setup client with mock
925925 client := github .NewClient (tc .mockedClient )
926- _ , handler := createRepository (client , translations .NullTranslationHelper )
926+ _ , handler := CreateRepository (client , translations .NullTranslationHelper )
927927
928928 // Create call request
929929 request := createMCPRequest (tc .requestArgs )
@@ -961,7 +961,7 @@ func Test_CreateRepository(t *testing.T) {
961961func Test_PushFiles (t * testing.T ) {
962962 // Verify tool definition once
963963 mockClient := github .NewClient (nil )
964- tool , _ := pushFiles (mockClient , translations .NullTranslationHelper )
964+ tool , _ := PushFiles (mockClient , translations .NullTranslationHelper )
965965
966966 assert .Equal (t , "push_files" , tool .Name )
967967 assert .NotEmpty (t , tool .Description )
@@ -1256,7 +1256,7 @@ func Test_PushFiles(t *testing.T) {
12561256 t .Run (tc .name , func (t * testing.T ) {
12571257 // Setup client with mock
12581258 client := github .NewClient (tc .mockedClient )
1259- _ , handler := pushFiles (client , translations .NullTranslationHelper )
1259+ _ , handler := PushFiles (client , translations .NullTranslationHelper )
12601260
12611261 // Create call request
12621262 request := createMCPRequest (tc .requestArgs )
0 commit comments