From aa0ba5496c101e41a497285b4e0f4e9f2820b5e7 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 3 Mar 2020 18:57:52 +0300 Subject: Fix typos Update signals handling mechanism http proper stopping --- service/rpc/service_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/rpc/service_test.go') diff --git a/service/rpc/service_test.go b/service/rpc/service_test.go index 11e8fcb5..51c1b337 100644 --- a/service/rpc/service_test.go +++ b/service/rpc/service_test.go @@ -49,7 +49,7 @@ func Test_StopNonServing(t *testing.T) { func Test_Serve_Errors(t *testing.T) { s := &Service{} - ok, err := s.Init(&Config{Enable: true, Listen: "mailformed"}, service.NewContainer(nil), nil) + ok, err := s.Init(&Config{Enable: true, Listen: "malformed"}, service.NewContainer(nil), nil) assert.NoError(t, err) assert.True(t, ok) -- cgit v1.2.3