MCPcopy Index your code
hub / github.com/koding/kite / TestKiteQuery

Function TestKiteQuery

protocol/protocol_test.go:48–63  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

46}
47
48func TestKiteQuery(t *testing.T) {
49 q := k.Query()
50 expect := func(expecting, got string) {
51 if expecting != got {
52 t.Errorf("expecting: '%s', got: '%s'", expecting, got)
53 }
54 }
55
56 expect(q.Name, "name")
57 expect(q.Username, "username")
58 expect(q.ID, "id")
59 expect(q.Environment, "environment")
60 expect(q.Region, "region")
61 expect(q.Version, "version")
62 expect(q.Hostname, "hostname")
63}

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.80

Tested by

no test coverage detected