Use correct regexp in reference.WithTag
This was using a different regexp from the intended one. This meant that tags with uppercase characters were not accepted. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
987a69dd05
commit
985ee759e7
2 changed files with 6 additions and 1 deletions
|
@ -417,6 +417,11 @@ func TestWithTag(t *testing.T) {
|
|||
tag: "tag4",
|
||||
combined: "test.com:8000/foo:tag4",
|
||||
},
|
||||
{
|
||||
name: "test.com:8000/foo",
|
||||
tag: "TAG5",
|
||||
combined: "test.com:8000/foo:TAG5",
|
||||
},
|
||||
}
|
||||
for _, testcase := range testcases {
|
||||
failf := func(format string, v ...interface{}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue