(t *testing.T)
| 41 | } |
| 42 | |
| 43 | func 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 | |
| 57 | type TestOpts struct { |
| 58 | BaseOpts |
nothing calls this directly
no test coverage detected