From 3a6cc55be5a8e09f0ceb0e10dc0c4efbc1dd86c8 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 10 Mar 2020 15:15:54 +0200 Subject: [PATCH] Fix tests on 32bit arches --- commands_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands_test.go b/commands_test.go index 1919cd7c..24602e14 100644 --- a/commands_test.go +++ b/commands_test.go @@ -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()) }) })