From 61cec66ba8d6ef836a582a517a72331209faa9b5 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 26 Oct 2026 12:08:37 +0100 Subject: [PATCH] gofmt the follower's test (issue 1945) --- internal/userlist/userlist_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/internal/userlist/userlist_test.go b/internal/userlist/userlist_test.go index 4663e9a..9b7c505 100644 --- a/internal/userlist/userlist_test.go +++ b/internal/userlist/userlist_test.go @@ -228,8 +228,11 @@ func TestTheBusNodeWritesTheNewestSignedUserListAlone(t *testing.T) { } return nil, errors.New("no object " + name) }, - Open: func(b seal.Box) ([]byte, error) { out, err := seal.Open(b, nodeKey.PrivateKey); return []byte(out), err }, - Key: func() string { return nodeKey.PublicKey }, + Open: func(b seal.Box) ([]byte, error) { + out, err := seal.Open(b, nodeKey.PrivateKey) + return []byte(out), err + }, + Key: func() string { return nodeKey.PublicKey }, Trusted: func() []ed25519.PublicKey { return []ed25519.PublicKey{controllerPub} }, Resolve: func(_ context.Context, r json.RawMessage) ([]byte, error) { var res struct{ Content, Digest string }