From 84e1219642e1b2c97afd057f91f8ce900a588764 Mon Sep 17 00:00:00 2001 From: zhoumingcheng Date: Tue, 12 Jul 2022 10:46:56 +0800 Subject: [PATCH] Correct some wrong syntax Signed-off-by: zhoumingcheng Kubernetes-commit: e590ab77dcb68486a154b755aae658509b9290ea --- rest/request_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rest/request_test.go b/rest/request_test.go index 09f731f2..ddde5f76 100644 --- a/rest/request_test.go +++ b/rest/request_test.go @@ -2592,7 +2592,7 @@ func TestRequestWatchRetryWithRateLimiterBackoffAndMetrics(t *testing.T) { testRetryWithRateLimiterBackoffAndMetrics(t, "Watch", func(ctx context.Context, r *Request) { w, err := r.Watch(ctx) if err == nil { - // in this test the the response body returned by the server is always empty, + // in this test the response body returned by the server is always empty, // this will cause StreamWatcher.receive() to: // - return an io.EOF to indicate that the watch closed normally and // - then close the io.Reader @@ -2620,7 +2620,7 @@ func TestRequestWatchWithRetryInvokeOrder(t *testing.T) { testWithRetryInvokeOrder(t, "Watch", func(ctx context.Context, r *Request) { w, err := r.Watch(ctx) if err == nil { - // in this test the the response body returned by the server is always empty, + // in this test the response body returned by the server is always empty, // this will cause StreamWatcher.receive() to: // - return an io.EOF to indicate that the watch closed normally and // - then close the io.Reader @@ -2635,7 +2635,7 @@ func TestRequestWatchWithWrapPreviousError(t *testing.T) { testWithWrapPreviousError(t, func(ctx context.Context, r *Request) error { w, err := r.Watch(ctx) if err == nil { - // in this test the the response body returned by the server is always empty, + // in this test the response body returned by the server is always empty, // this will cause StreamWatcher.receive() to: // - return an io.EOF to indicate that the watch closed normally and // - then close the io.Reader