@@ -1640,6 +1640,7 @@ func Test_AddSubIssue(t *testing.T) {
16401640 // Verify tool definition once
16411641 mockClient := github .NewClient (nil )
16421642 tool , _ := AddSubIssue (stubGetClientFn (mockClient ), translations .NullTranslationHelper )
1643+ require .NoError (t , toolsnaps .Test (tool .Name , tool ))
16431644
16441645 assert .Equal (t , "add_sub_issue" , tool .Name )
16451646 assert .NotEmpty (t , tool .Description )
@@ -1875,6 +1876,7 @@ func Test_ListSubIssues(t *testing.T) {
18751876 // Verify tool definition once
18761877 mockClient := github .NewClient (nil )
18771878 tool , _ := ListSubIssues (stubGetClientFn (mockClient ), translations .NullTranslationHelper )
1879+ require .NoError (t , toolsnaps .Test (tool .Name , tool ))
18781880
18791881 assert .Equal (t , "list_sub_issues" , tool .Name )
18801882 assert .NotEmpty (t , tool .Description )
@@ -2114,6 +2116,7 @@ func Test_RemoveSubIssue(t *testing.T) {
21142116 // Verify tool definition once
21152117 mockClient := github .NewClient (nil )
21162118 tool , _ := RemoveSubIssue (stubGetClientFn (mockClient ), translations .NullTranslationHelper )
2119+ require .NoError (t , toolsnaps .Test (tool .Name , tool ))
21172120
21182121 assert .Equal (t , "remove_sub_issue" , tool .Name )
21192122 assert .NotEmpty (t , tool .Description )
@@ -2329,6 +2332,7 @@ func Test_ReprioritizeSubIssue(t *testing.T) {
23292332 // Verify tool definition once
23302333 mockClient := github .NewClient (nil )
23312334 tool , _ := ReprioritizeSubIssue (stubGetClientFn (mockClient ), translations .NullTranslationHelper )
2335+ require .NoError (t , toolsnaps .Test (tool .Name , tool ))
23322336
23332337 assert .Equal (t , "reprioritize_sub_issue" , tool .Name )
23342338 assert .NotEmpty (t , tool .Description )
0 commit comments