@@ -71,7 +71,7 @@ func TestKeysEmpty(t *testing.T) {
71
71
}
72
72
73
73
if len (input ) != vk .Len () {
74
- t .Fatalf ("Incorrect key count; expected %s , got %s " , len (input ), vk .Len ())
74
+ t .Fatalf ("Incorrect key count; expected %d , got %d " , len (input ), vk .Len ())
75
75
}
76
76
}
77
77
@@ -269,11 +269,11 @@ func TestGroupByMulti(t *testing.T) {
269
269
}
270
270
271
271
if len (groups ["demo1.localhost" ]) != 2 {
272
- t .Fatalf ("expected 2 got %s " , len (groups ["demo1.localhost" ]))
272
+ t .Fatalf ("expected 2 got %d " , len (groups ["demo1.localhost" ]))
273
273
}
274
274
275
275
if len (groups ["demo2.localhost" ]) != 1 {
276
- t .Fatalf ("expected 1 got %s " , len (groups ["demo2.localhost" ]))
276
+ t .Fatalf ("expected 1 got %d " , len (groups ["demo2.localhost" ]))
277
277
}
278
278
if groups ["demo2.localhost" ][0 ].(RuntimeContainer ).ID != "3" {
279
279
t .Fatalf ("expected 2 got %s" , groups ["demo2.localhost" ][0 ].(RuntimeContainer ).ID )
@@ -785,7 +785,7 @@ func TestJson(t *testing.T) {
785
785
t .Fatal (err )
786
786
}
787
787
if len (decoded ) != len (containers ) {
788
- t .Fatal ("Incorrect unmarshaled container count. Expected %d, got %d." , len (containers ), len (decoded ))
788
+ t .Fatalf ("Incorrect unmarshaled container count. Expected %d, got %d." , len (containers ), len (decoded ))
789
789
}
790
790
}
791
791
0 commit comments