Bläddra i källkod

Update test to reflect new ApiInfo struct

Guillaume J. Charmes 12 år sedan
förälder
incheckning
8243f2510e
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      api_test.go

+ 2 - 2
api_test.go

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