MCPcopy Index your code
hub / github.com/coder/coder / TestGetClientInfo

Function TestGetClientInfo

aibridge/mcp/client_info_test.go:11–20  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9)
10
11func TestGetClientInfo(t *testing.T) {
12 t.Parallel()
13
14 info := mcp.GetClientInfo()
15
16 assert.Equal(t, "coder/aibridge", info.Name)
17 assert.NotEmpty(t, info.Version)
18 // Version will either be a git revision, a semantic version, or a combination
19 assert.NotEqual(t, "", info.Version)
20}

Callers

nothing calls this directly

Calls 3

GetClientInfoFunction · 0.92
NotEmptyMethod · 0.80
EqualMethod · 0.45

Tested by

no test coverage detected