summaryrefslogtreecommitdiff
path: root/plugins/jobs/job/job_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/job/job_test.go')
-rw-r--r--plugins/jobs/job/job_test.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/jobs/job/job_test.go b/plugins/jobs/job/job_test.go
deleted file mode 100644
index 4a95e27d..00000000
--- a/plugins/jobs/job/job_test.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package job
-
-import (
- "testing"
- "time"
-
- "github.com/stretchr/testify/assert"
-)
-
-func TestOptions_DelayDuration(t *testing.T) {
- opts := &Options{Delay: 0}
- assert.Equal(t, time.Duration(0), opts.DelayDuration())
-}
-
-func TestOptions_DelayDuration2(t *testing.T) {
- opts := &Options{Delay: 1}
- assert.Equal(t, time.Second, opts.DelayDuration())
-}