From 59e6ccd051452162fab852a25deb4f0f8a9e22b2 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 28 Nov 2022 14:09:28 +0100 Subject: Refactor: Fix revive linter errors by deleting redundant prefixes --- client/client_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/client_test.go') diff --git a/client/client_test.go b/client/client_test.go index 9145ef3..fe2dec5 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -126,7 +126,7 @@ func testConnectOAuthParameter( t.Fatalf("No port with error: %v", portErr) } baseURL := fmt.Sprintf("http://127.0.0.1:%d/callback", port) - url, err := httpw.HTTPConstructURL(baseURL, parameters) + url, err := httpw.ConstructURL(baseURL, parameters) if err != nil { _ = state.CancelOAuth() t.Fatalf( @@ -170,9 +170,9 @@ func testConnectOAuthParameter( func TestConnectOAuthParameters(t *testing.T) { var ( - failedCallbackParameterError *oauth.OAuthCallbackParameterError - failedCallbackStateMatchError *oauth.OAuthCallbackStateMatchError - failedCallbackISSMatchError *oauth.OAuthCallbackISSMatchError + failedCallbackParameterError *oauth.CallbackParameterError + failedCallbackStateMatchError *oauth.CallbackStateMatchError + failedCallbackISSMatchError *oauth.CallbackISSMatchError ) -- cgit v1.2.3