1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix buildfile tests after rebase

This commit is contained in:
Michael Crosby 2013-07-11 15:37:26 -09:00
parent 474191dd7b
commit 49044a9608

View file

@ -137,7 +137,7 @@ func TestVolume(t *testing.T) {
pushingPool: make(map[string]struct{}),
}
buildfile := NewBuildFile(srv, ioutil.Discard)
buildfile := NewBuildFile(srv, ioutil.Discard, false)
imgId, err := buildfile.Build(mkTestContext(`
from %s
VOLUME /test
@ -153,7 +153,7 @@ CMD Hello world
if len(img.Config.Volumes) == 0 {
t.Fail()
}
for key, _ := range img.Config.Volumes {
for key := range img.Config.Volumes {
if key != "/test" {
t.Fail()
}