From d4b1074fdf918955dc01213c61cdeda32b475f61 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Fri, 2 Jun 2023 16:44:38 +0200 Subject: [PATCH] Make the almighty linter happy again --- roomserver/storage/shared/storage_test.go | 1 + roomserver/storage/tables/user_room_keys_table_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/roomserver/storage/shared/storage_test.go b/roomserver/storage/shared/storage_test.go index 63949a23f..7dc45aed4 100644 --- a/roomserver/storage/shared/storage_test.go +++ b/roomserver/storage/shared/storage_test.go @@ -126,6 +126,7 @@ func TestUserRoomKeys(t *testing.T) { // again, this shouldn't result in an error, but return the existing key _, key2, err := ed25519.GenerateKey(nil) + assert.NoError(t, err) gotKey, err = db.InsertUserRoomKey(context.Background(), userNID, roomNID, key2) assert.NoError(t, err) assert.Equal(t, gotKey, key) diff --git a/roomserver/storage/tables/user_room_keys_table_test.go b/roomserver/storage/tables/user_room_keys_table_test.go index 3e0c091ac..0647813f5 100644 --- a/roomserver/storage/tables/user_room_keys_table_test.go +++ b/roomserver/storage/tables/user_room_keys_table_test.go @@ -51,6 +51,7 @@ func TestUserRoomKeysTable(t *testing.T) { // again, this shouldn't result in an error, but return the existing key _, key2, err := ed25519.GenerateKey(nil) + assert.NoError(t, err) gotKey, err = tab.InsertUserRoomKey(context.Background(), nil, userNID, roomNID, key2) assert.NoError(t, err) assert.Equal(t, gotKey, key)