diff options
Diffstat (limited to 'service/container_test.go')
-rw-r--r-- | service/container_test.go | 4 |
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) |