mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Fix the formatting string
This commit is contained in:
parent
9c2df998af
commit
e9d1a90535
@ -715,7 +715,7 @@ func TestCacherListerWatcher(t *testing.T) {
|
||||
}
|
||||
pl, ok := obj.(*example.PodList)
|
||||
if !ok {
|
||||
t.Fatalf("Expected PodList but got %t", pl)
|
||||
t.Fatalf("Expected PodList but got %v", pl)
|
||||
}
|
||||
if len(pl.Items) != 3 {
|
||||
t.Errorf("Expected PodList of length 3 but got %d", len(pl.Items))
|
||||
@ -744,7 +744,7 @@ func TestCacherListerWatcherPagination(t *testing.T) {
|
||||
}
|
||||
limit1, ok := obj1.(*example.PodList)
|
||||
if !ok {
|
||||
t.Fatalf("Expected PodList but got %t", limit1)
|
||||
t.Fatalf("Expected PodList but got %v", limit1)
|
||||
}
|
||||
if len(limit1.Items) != 2 {
|
||||
t.Errorf("Expected PodList of length 2 but got %d", len(limit1.Items))
|
||||
@ -758,7 +758,7 @@ func TestCacherListerWatcherPagination(t *testing.T) {
|
||||
}
|
||||
limit2, ok := obj2.(*example.PodList)
|
||||
if !ok {
|
||||
t.Fatalf("Expected PodList but got %t", limit2)
|
||||
t.Fatalf("Expected PodList but got %v", limit2)
|
||||
}
|
||||
if limit2.Continue != "" {
|
||||
t.Errorf("Expected list not to have Continue, but got %s", limit1.Continue)
|
||||
|
Loading…
Reference in New Issue
Block a user