diff options
author | Valery Piashchynski <[email protected]> | 2020-09-17 13:35:48 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-09-17 13:35:48 +0300 |
commit | 08d6b6b7f773f83b286cd48c1a0fbec9a62fb42b (patch) | |
tree | afd077d7a3a22ed0999773f861d4c48d68e26b68 /_old/entry_test.go | |
parent | 0af502835616774a8b306596e4d1a8c5843b6bc8 (diff) |
Move old container to the _old folder
Diffstat (limited to '_old/entry_test.go')
-rw-r--r-- | _old/entry_test.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/_old/entry_test.go b/_old/entry_test.go new file mode 100644 index 00000000..24538561 --- /dev/null +++ b/_old/entry_test.go @@ -0,0 +1,16 @@ +package _old + +import ( + "github.com/stretchr/testify/assert" + "testing" +) + +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()) +} |