From 68f61e08c86a7ee1f279d4e5b490a22b03793587 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 18:48:12 +0000 Subject: [PATCH] style: format code with Go fmt and Gofumpt This commit fixes the style issues introduced in d8cf84a according to the output from Go fmt and Gofumpt. Details: None --- gin/jose_test.go | 2 +- mux/jose_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gin/jose_test.go b/gin/jose_test.go index e85987f..0883179 100644 --- a/gin/jose_test.go +++ b/gin/jose_test.go @@ -256,7 +256,7 @@ func TestCustomHeaderName(t *testing.T) { if body := w.Body.String(); body != "" { t.Errorf("unexpected body: %s", body) } -} +} func TestTokenSigner_error(t *testing.T) { ts := TokenSigner( diff --git a/mux/jose_test.go b/mux/jose_test.go index 31a110d..aab872f 100644 --- a/mux/jose_test.go +++ b/mux/jose_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" + jose "github.com/krakendio/krakend-jose/v2" "github.com/luraproject/lura/v2/logging" "github.com/luraproject/lura/v2/proxy" muxlura "github.com/luraproject/lura/v2/router/mux" - jose "github.com/krakendio/krakend-jose/v2" ) func TestTokenSignatureValidator(t *testing.T) {