From 1e142752c1f39d33630a5e45efca640aff2126f2 Mon Sep 17 00:00:00 2001 From: Kelvin Clement Mwinuka Date: Sun, 8 Sep 2024 22:01:00 +0800 Subject: [PATCH] Updated expected error on HMGET test case 3 where the error expected the wrong message from what was actually returned. --- internal/modules/hash/commands_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/modules/hash/commands_test.go b/internal/modules/hash/commands_test.go index d9238834..1d61df50 100644 --- a/internal/modules/hash/commands_test.go +++ b/internal/modules/hash/commands_test.go @@ -643,7 +643,7 @@ func Test_Hash(t *testing.T) { command: []string{"HMGET", "HmgetKey3", "field1"}, expectedResponse: nil, expectedValue: nil, - expectedError: errors.New("value at HgetKey3 is not a hash"), + expectedError: errors.New("value at HmgetKey3 is not a hash"), }, { name: "4. Command too short",