mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add regression tests
This commit is contained in:
parent
3852d05990
commit
bb241c10e2
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ func TestContainerTagImageDelete(t *testing.T) {
|
|||
if err := srv.runtime.repositories.Set("utest", "tag1", unitTestImageName, false); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if err := srv.runtime.repositories.Set("utest/docker", "tag2", unitTestImageName, false); err != nil {
|
||||
if err := srv.runtime.repositories.Set("utest:5000/docker", "tag2", unitTestImageName, false); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ func TestContainerTagImageDelete(t *testing.T) {
|
|||
t.Errorf("Expected %d images, %d found", len(initialImages)+2, len(images))
|
||||
}
|
||||
|
||||
if _, err := srv.ImageDelete("utest/docker:tag2", true); err != nil {
|
||||
if _, err := srv.ImageDelete("utest:5000/docker:tag2", true); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue