mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
Don't create empty map when value is missing
This commit is contained in:
@ -3638,7 +3638,7 @@ var _ = Describe("Commands", func() {
|
||||
Stream: "stream",
|
||||
Messages: []redis.XMessage{
|
||||
{ID: "1-0", Values: map[string]interface{}{"uno": "un"}},
|
||||
{ID: "2-0", Values: map[string]interface{}{}},
|
||||
{ID: "2-0", Values: nil},
|
||||
{ID: "3-0", Values: map[string]interface{}{"tres": "troix"}},
|
||||
}},
|
||||
}))
|
||||
|
Reference in New Issue
Block a user