1
0
Fork 0
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:
Victor Vieux 2013-07-29 12:16:14 +00:00
parent 3852d05990
commit bb241c10e2

View file

@ -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)
}