summaryrefslogtreecommitdiff
path: root/service/container_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 17:18:23 +0300
committerWolfy-J <[email protected]>2018-06-10 17:18:23 +0300
commit094a4c211022b9446ef988c74c546ad6efb09722 (patch)
tree603ade627491960108154d6301868c9b881cd101 /service/container_test.go
parent232aa8f3c20a060e556ab431467f4f7b3f83bfbf (diff)
http service
Diffstat (limited to 'service/container_test.go')
-rw-r--r--service/container_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/container_test.go b/service/container_test.go
index bba0056f..c4e3c614 100644
--- a/service/container_test.go
+++ b/service/container_test.go
@@ -290,7 +290,7 @@ func TestContainer_ServeError(t *testing.T) {
err := c.Serve()
assert.Error(t, err)
assert.Contains(t, err.Error(), "serve error")
- assert.Contains(t, err.Error(), "test.service")
+ assert.Contains(t, err.Error(), "test")
s, st := c.Get("test")
assert.IsType(t, &testService{}, s)
@@ -322,7 +322,7 @@ func TestContainer_ServeErrorMultiple(t *testing.T) {
err := c.Serve()
assert.Error(t, err)
assert.Contains(t, err.Error(), "serve error")
- assert.Contains(t, err.Error(), "test.service")
+ assert.Contains(t, err.Error(), "test")
s, st := c.Get("test")
assert.IsType(t, &testService{}, s)