Merge pull request #1272 from go-redis/fix/test-32bit

Fix tests on 32bit arches
This commit is contained in:
Vladimir Mihailenco 2020-03-10 16:06:23 +02:00 committed by GitHub
commit 1c4dd844c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -290,11 +290,11 @@ var _ = Describe("Commands", func() {
n, err := client.MemoryUsage("foo").Result()
Expect(err).NotTo(HaveOccurred())
Expect(n).To(Equal(int64(50)))
Expect(n).NotTo(BeZero())
n, err = client.MemoryUsage("foo", 0).Result()
Expect(err).NotTo(HaveOccurred())
Expect(n).To(Equal(int64(50)))
Expect(n).NotTo(BeZero())
})
})