update test for error condition
This commit is contained in:
parent
6c808347d7
commit
4a0de691f5
|
@ -30,8 +30,8 @@ func TestParseRegistrySource(t *testing.T) {
|
|||
id: "namespace/id/provider",
|
||||
},
|
||||
{ // too many parts
|
||||
source: "registry.com/namespace/id/provider/extra",
|
||||
notRegistry: true,
|
||||
source: "registry.com/namespace/id/provider/extra",
|
||||
err: true,
|
||||
},
|
||||
{ // local path
|
||||
source: "./local/file/path",
|
||||
|
|
Loading…
Reference in New Issue