mirror of
https://github.com/docker/cli.git
synced 2026-09-26 09:20:58 -04:00
fix tests
Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux) Upstream-commit: 964d82d00506c3005d102b9a1f94848182c5989d Component: engine
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
"github.com/dotcloud/docker/runconfig"
|
||||
"github.com/dotcloud/docker/utils"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
|
||||
@@ -691,7 +691,7 @@ func TestDeleteTagWithExistingContainers(t *testing.T) {
|
||||
t.Fatalf("Should only have deleted one untag %d", len(imgs.Data))
|
||||
}
|
||||
|
||||
if untag := imgs.Data[0].Get("Untagged"); untag != unitTestImageID {
|
||||
if untag := imgs.Data[0].Get("Untagged"); untag != "utest:tag1" {
|
||||
t.Fatalf("Expected %s got %s", unitTestImageID, untag)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user