From 5257496945e5d21830a1ade41b72ebbd0a11a277 Mon Sep 17 00:00:00 2001 From: Hiroto Funakoshi Date: Thu, 11 Jun 2020 14:37:06 +0900 Subject: [PATCH] fix: failing test (#468) Signed-off-by: hlts2 --- internal/backoff/backoff_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/backoff/backoff_test.go b/internal/backoff/backoff_test.go index 64fc45bb71..1253790921 100644 --- a/internal/backoff/backoff_test.go +++ b/internal/backoff/backoff_test.go @@ -227,7 +227,7 @@ func TestDo(t *testing.T) { return nil }, - want: errors.Wrap(errors.New("error (2)"), context.Canceled.Error()), + want: errors.Wrap(context.Canceled, errors.New("error (2)").Error()), } }(),