MCPcopy Create free account
hub / github.com/bytesizedhosting/bcd / TestGetVersion

Function TestGetVersion

engines/rpc_test.go:29–39  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

27}
28
29func TestGetVersion(t *testing.T) {
30 var version string
31
32 rpcengine.GetVersion(1, &version)
33 if version == "" {
34 t.Error("Did not receive version")
35 }
36 if version != core.VerString {
37 t.Error("Version via RPC did not match version of Core package")
38 }
39}
40
41func TestGetManifests(t *testing.T) {
42 b := &ManifestResponse{}

Callers

nothing calls this directly

Calls 1

GetVersionMethod · 0.65

Tested by

no test coverage detected