From d8212d1337d211089713efe3106d205186d9c9ea Mon Sep 17 00:00:00 2001 From: Andrew Keesler Date: Thu, 10 Dec 2020 11:01:03 -0800 Subject: [PATCH] Whitespace Signed-off-by: aram price --- internal/oidc/dynamiccodec/codec_test.go | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/internal/oidc/dynamiccodec/codec_test.go b/internal/oidc/dynamiccodec/codec_test.go index b0db0408..35a5f8b4 100644 --- a/internal/oidc/dynamiccodec/codec_test.go +++ b/internal/oidc/dynamiccodec/codec_test.go @@ -81,12 +81,8 @@ func TestCodec(t *testing.T) { if test.keys != nil { test.keys(&encoderSigningKey, &encoderEncryptionKey, &decoderSigningKey, &decoderEncryptionKey) } - encoder := New(func() []byte { - return encoderSigningKey - }, - func() []byte { - return encoderEncryptionKey - }) + encoder := New(func() []byte { return encoderSigningKey }, + func() []byte { return encoderEncryptionKey }) encoded, err := encoder.Encode("some-name", "some-message") if test.wantEncoderError != "" { @@ -95,12 +91,8 @@ func TestCodec(t *testing.T) { } require.NoError(t, err) - decoder := New(func() []byte { - return decoderSigningKey - }, - func() []byte { - return decoderEncryptionKey - }) + decoder := New(func() []byte { return decoderSigningKey }, + func() []byte { return decoderEncryptionKey }) var decoded string err = decoder.Decode("some-name", encoded, &decoded)