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

Function TestLoadManifest

plugins/base_test.go:43–55  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41}
42
43func TestLoadManifest(t *testing.T) {
44 _, err := LoadManifest("deluge")
45 if err != nil {
46 t.Error("Could not load Manifest:", err)
47
48 }
49
50 _, err = LoadManifest("dontexistdeluge")
51 if err == nil {
52 t.Error("No error thrown on faulty Manifest")
53
54 }
55}
56
57type TestOpts struct {
58 BaseOpts

Callers

nothing calls this directly

Calls 1

LoadManifestFunction · 0.85

Tested by

no test coverage detected