From ece28c2f405d0cb410ee60935e125d71172431f2 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 14 Apr 2024 21:28:52 -0700 Subject: [PATCH] Fix incorrect require due to typo --- backend/server/internal/server/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/server/internal/server/server_test.go b/backend/server/internal/server/server_test.go index 0186e34..6d87ef5 100644 --- a/backend/server/internal/server/server_test.go +++ b/backend/server/internal/server/server_test.go @@ -174,7 +174,7 @@ func TestDumpRequestAndResponse(t *testing.T) { require.NoError(t, err) dumpRequests = make([]*shared.DumpRequest, 0) require.NoError(t, json.Unmarshal(respBody, &dumpRequests)) - require.Len(t, dumpRequest, 1) + require.Len(t, dumpRequests, 1) dumpRequest = dumpRequests[0] require.Equal(t, otherDev2, dumpRequest.RequestingDeviceId) require.Equal(t, otherUser, dumpRequest.UserId) @@ -241,7 +241,7 @@ func TestDumpRequestAndResponse(t *testing.T) { require.NoError(t, err) dumpRequests = make([]*shared.DumpRequest, 0) require.NoError(t, json.Unmarshal(respBody, &dumpRequests)) - require.Len(t, dumpRequest, 1) + require.Len(t, dumpRequests, 1) dumpRequest = dumpRequests[0] require.Equal(t, otherDev2, dumpRequest.RequestingDeviceId) require.Equal(t, otherUser, dumpRequest.UserId)