From 09fb026c8e396b11f632130253e958c049b67878 Mon Sep 17 00:00:00 2001 From: Jon Hadfield Date: Tue, 8 Oct 2024 13:23:27 +0100 Subject: [PATCH] lint. --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_test.go b/main_test.go index 9139ac3..471b8b1 100644 --- a/main_test.go +++ b/main_test.go @@ -320,7 +320,7 @@ func TestGetRequestTimeout(t *testing.T) { require.Equal(t, 600*time.Second, timeout) t.Setenv(envGitRequestTimeout, "invalid") - ok, timeout, err = getRequestTimeout() + ok, _, err = getRequestTimeout() require.False(t, ok) require.Error(t, err)