update test for error condition

This commit is contained in:
James Bardin 2017-10-27 08:57:37 -04:00
parent 6c808347d7
commit 4a0de691f5
1 changed files with 2 additions and 2 deletions

View File

@ -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",