Skip to content

Commit 1e14220

Browse files
committed
Fix test matching
1 parent a4748fe commit 1e14220

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pipeline_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,20 @@ var _ = Describe("pipelining", func() {
117117

118118
It("should process", func() {
119119
err := pipe.Process(ctx, redis.NewCmd(ctx, "asking"))
120-
Expect(err).To(Equal(nil))
120+
Expect(err).To(BeNil())
121121
Expect(pipe.Cmds()).To(HaveLen(1))
122122
})
123123

124124
It("should batchProcess", func() {
125125
err := pipe.BatchProcess(ctx, redis.NewCmd(ctx, "asking"))
126-
Expect(err).To(Equal(nil))
126+
Expect(err).To(BeNil())
127127
Expect(pipe.Cmds()).To(HaveLen(1))
128128

129129
pipe.Discard()
130130
Expect(pipe.Cmds()).To(HaveLen(0))
131131

132132
err = pipe.BatchProcess(ctx, redis.NewCmd(ctx, "asking"), redis.NewCmd(ctx, "set", "key", "value"))
133-
Expect(err).To(Equal(nil))
133+
Expect(err).To(BeNil())
134134
Expect(pipe.Cmds()).To(HaveLen(2))
135135
})
136136
}

0 commit comments

Comments
 (0)