We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 622599b commit 283b9baCopy full SHA for 283b9ba
pkg/http/handler_test.go
@@ -11,6 +11,7 @@ import (
11
"github.com/github/github-mcp-server/pkg/inventory"
12
"github.com/modelcontextprotocol/go-sdk/mcp"
13
"github.com/stretchr/testify/assert"
14
+ "github.com/stretchr/testify/require"
15
)
16
17
func mockTool(name, toolsetID string, readOnly bool) inventory.ServerTool {
@@ -94,7 +95,8 @@ func TestInventoryFiltersForRequest(t *testing.T) {
94
95
WithToolsets([]string{"all"})
96
97
builder = InventoryFiltersForRequest(req, builder)
- inv := builder.Build()
98
+ inv, err := builder.Build()
99
+ require.NoError(t, err)
100
101
available := inv.AvailableTools(context.Background())
102
toolNames := make([]string, len(available))
0 commit comments