summaryrefslogtreecommitdiff
path: root/service/entry_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/entry_test.go')
-rw-r--r--service/entry_test.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/service/entry_test.go b/service/entry_test.go
deleted file mode 100644
index 5ca9c338..00000000
--- a/service/entry_test.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package service
-
-import (
- "testing"
-
- "github.com/stretchr/testify/assert"
-)
-
-func TestEntry_CanServeFalse(t *testing.T) {
- e := &entry{svc: nil}
- assert.False(t, e.canServe())
-}
-
-func TestEntry_CanServeTrue(t *testing.T) {
- e := &entry{svc: &testService{}}
- assert.True(t, e.canServe())
-}