Skip to content

Commit 1c4dd84

Browse files
authored
Merge pull request #1272 from go-redis/fix/test-32bit
Fix tests on 32bit arches
2 parents 20a182c + 3a6cc55 commit 1c4dd84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ var _ = Describe("Commands", func() {
290290

291291
n, err := client.MemoryUsage("foo").Result()
292292
Expect(err).NotTo(HaveOccurred())
293-
Expect(n).To(Equal(int64(50)))
293+
Expect(n).NotTo(BeZero())
294294

295295
n, err = client.MemoryUsage("foo", 0).Result()
296296
Expect(err).NotTo(HaveOccurred())
297-
Expect(n).To(Equal(int64(50)))
297+
Expect(n).NotTo(BeZero())
298298
})
299299

300300
})

0 commit comments

Comments
 (0)