diff --git a/.travis.yml b/.travis.yml index 1dea73b..574bae4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ services: go: - 1.3 - 1.4 - - tip install: - go get gopkg.in/bsm/ratelimit.v1 diff --git a/Makefile b/Makefile index 1107e5f..1b43765 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ all: testdeps - go test ./... -v=1 -cpu=1,2,4 - go test ./... -short -race + go test ./... -test.v -test.cpu=1,2,4 + go test ./... -test.short -test.race test: testdeps - go test ./... -v=1 + go test ./... -test.v=1 testdeps: .test/redis/src/redis-server @@ -11,7 +11,7 @@ testdeps: .test/redis/src/redis-server .test/redis: mkdir -p $@ - wget -qO- https://github.com/antirez/redis/archive/3.0.3.tar.gz | tar xvz --strip-components=1 -C $@ + wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@ .test/redis/src/redis-server: .test/redis cd $< && make all diff --git a/commands_test.go b/commands_test.go index ecf27cd..f10cfc3 100644 --- a/commands_test.go +++ b/commands_test.go @@ -193,7 +193,7 @@ var _ = Describe("Commands", func() { dump := client.Dump("key") Expect(dump.Err()).NotTo(HaveOccurred()) - Expect(dump.Val()).To(Equal("\x00\x05hello\x06\x00\xf5\x9f\xb7\xf6\x90a\x1c\x99")) + Expect(dump.Val()).NotTo(BeEmpty()) }) It("should Exists", func() {