From c4112cd214a9c7cbed82c82eefc75904fb42d1af Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 11 Jan 2021 13:00:52 +0300 Subject: Update CI Format imports and code Distinct internal and app errors --- worker_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'worker_test.go') diff --git a/worker_test.go b/worker_test.go index c21e67cb..8f93ee96 100644 --- a/worker_test.go +++ b/worker_test.go @@ -1,10 +1,11 @@ package roadrunner import ( - "github.com/stretchr/testify/assert" "os/exec" "testing" "time" + + "github.com/stretchr/testify/assert" ) func Test_GetState(t *testing.T) { @@ -112,7 +113,7 @@ func Test_NotStarted_Exec(t *testing.T) { assert.Error(t, err) assert.Nil(t, res) - assert.Equal(t, "worker is not ready (inactive)", err.Error()) + assert.Equal(t, "worker is not ready", err.Error()) } func Test_String(t *testing.T) { -- cgit v1.2.3