summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-redis/redis/internal/internal_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-redis/redis/internal/internal_test.go')
-rw-r--r--vendor/github.com/go-redis/redis/internal/internal_test.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/github.com/go-redis/redis/internal/internal_test.go b/vendor/github.com/go-redis/redis/internal/internal_test.go
deleted file mode 100644
index 56ff611e1..000000000
--- a/vendor/github.com/go-redis/redis/internal/internal_test.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package internal
-
-import (
- "testing"
- "time"
-
- . "github.com/onsi/gomega"
-)
-
-func TestRetryBackoff(t *testing.T) {
- RegisterTestingT(t)
-
- for i := -1; i <= 16; i++ {
- backoff := RetryBackoff(i, time.Millisecond, 512*time.Millisecond)
- Expect(backoff >= 0).To(BeTrue())
- Expect(backoff <= 512*time.Millisecond).To(BeTrue())
- }
-}