Skip to content

Commit

Permalink
update LPOP error message for all integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kripu77 committed Jan 19, 2025
1 parent 18f5fba commit 96e28ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions integration_tests/commands/http/deque_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ func TestLPOPCount(t *testing.T) {
float64(4),
[]interface{}{"v1", "v2"},
[]interface{}{"v3", "v4"},
"ERR value is not an integer or out of range",
"ERR value is not an integer or a float",
"value is out of range, must be positive",
"value is out of range, must be positive",
float64(0),
},
},
Expand Down
4 changes: 2 additions & 2 deletions integration_tests/commands/resp/deque_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,8 @@ func TestLPOPCount(t *testing.T) {
int64(2),
[]interface{}{"v3", "v4"},
int64(0),
"ERR value is not an integer or out of range",
"ERR value is not an integer or a float",
"value is out of range, must be positive",
"value is out of range, must be positive",
int64(0),
},
},
Expand Down
4 changes: 2 additions & 2 deletions integration_tests/commands/websocket/deque_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ func TestLPOPCount(t *testing.T) {
float64(4),
[]interface{}{"v1", "v2"},
[]interface{}{"v3", "v4"},
"ERR value is not an integer or out of range",
"ERR value is not an integer or a float",
"value is out of range, must be positive",
"value is out of range, must be positive",
float64(0),
},
cleanupKey: "k",
Expand Down

0 comments on commit 96e28ac

Please sign in to comment.