diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/logs/logs_test.go b/staging/src/k8s.io/kubectl/pkg/cmd/logs/logs_test.go index 61b10ec93fd..36fa8a70403 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/logs/logs_test.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/logs/logs_test.go @@ -117,7 +117,10 @@ func TestLog(t *testing.T) { o.Prefix = true return o }, - expectedOutSubstrings: []string{"[pod/test-sts-0/test-container] test log content for pod test-sts-0\n[pod/test-sts-1/test-container] test log content for pod test-sts-1\n"}, + expectedOutSubstrings: []string{ + "[pod/test-sts-0/test-container] test log content for pod test-sts-0\n", + "[pod/test-sts-1/test-container] test log content for pod test-sts-1\n", + }, }, { name: "pod logs with prefix: init container",