Skip to content

Commit 6928e52

Browse files
committed
add additional expect to check output
1 parent da5fe33 commit 6928e52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

redis_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ var _ = Describe("Client", func() {
323323
cn, err = client.Pool().Get(context.Background())
324324
Expect(err).NotTo(HaveOccurred())
325325
Expect(cn).NotTo(BeNil())
326+
Expect(cn.UsedAt().UnixNano()).To(BeNumerically(">", createdAt.UnixNano()))
326327
Expect(cn.UsedAt().After(createdAt)).To(BeTrue())
327328
})
328329

0 commit comments

Comments
 (0)