Update test to reflect new ApiInfo struct

This commit is contained in:
Guillaume J. Charmes 2013-06-03 06:44:00 -07:00
parent 0443cc351d
commit 8243f2510e

View file

@ -106,8 +106,8 @@ func TestGetInfo(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if infos.Version != VERSION {
t.Errorf("Excepted version %s, %s found", VERSION, infos.Version)
if infos.Images != 1 {
t.Errorf("Excepted images: %d, %d found", 1, infos.Images)
}
}