mirror of
https://github.com/redis/go-redis.git
synced 2025-06-14 01:21:30 +03:00
Fix proto.RedisError in slices
This commit is contained in:
@ -10,7 +10,7 @@ import (
|
||||
. "github.com/onsi/gomega"
|
||||
|
||||
"github.com/go-redis/redis"
|
||||
"github.com/go-redis/redis/internal"
|
||||
"github.com/go-redis/redis/internal/proto"
|
||||
)
|
||||
|
||||
var _ = Describe("Commands", func() {
|
||||
@ -3000,7 +3000,7 @@ var _ = Describe("Commands", func() {
|
||||
nil,
|
||||
).Result()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(vals).To(Equal([]interface{}{int64(12), internal.RedisError("error"), "abc"}))
|
||||
Expect(vals).To(Equal([]interface{}{int64(12), proto.RedisError("error"), "abc"}))
|
||||
})
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user