summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-13 21:56:08 +0300
committerWolfy-J <[email protected]>2018-06-13 21:56:08 +0300
commit5da779709722263f49d1d9e84b4e1aa2dfc07929 (patch)
tree36625527d2e17566bb28530e110d10e42908d931
parent7d4a75738addc88705065dda70aed701151e02d1 (diff)
middleware
-rw-r--r--service/http/service_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/http/service_test.go b/service/http/service_test.go
index 34fd22bf..94dd64d7 100644
--- a/service/http/service_test.go
+++ b/service/http/service_test.go
@@ -133,6 +133,9 @@ func Test_Service_Echo(t *testing.T) {
assert.NotNil(t, s)
assert.Equal(t, service.StatusConfigured, st)
+ // should do nothing
+ s.Stop()
+
go func() { c.Serve() }()
time.Sleep(time.Millisecond * 100)
defer c.Stop()