File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ func testTools() []inventory.ServerTool {
129129}
130130
131131// extractToolNames extracts tool names from an inventory
132- func extractToolNames (inv * inventory. Inventory , ctx context. Context ) []string {
132+ func extractToolNames (ctx context. Context , inv * inventory. Inventory ) []string {
133133 available := inv .AvailableTools (ctx )
134134 names := make ([]string , len (available ))
135135 for i , tool := range available {
@@ -309,7 +309,7 @@ func TestHTTPHandlerRoutes(t *testing.T) {
309309 // Verify the inventory was captured and has the expected tools
310310 require .NotNil (t , capturedInventory , "inventory should have been created" )
311311
312- toolNames := extractToolNames (capturedInventory , capturedCtx )
312+ toolNames := extractToolNames (capturedCtx , capturedInventory )
313313 expectedSorted := make ([]string , len (tt .expectedTools ))
314314 copy (expectedSorted , tt .expectedTools )
315315 sort .Strings (expectedSorted )
You can’t perform that action at this time.
0 commit comments