From e3a1669c8168320318291325f70ca35e2ab2eec3 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 9 Nov 2020 14:21:21 +0300 Subject: New tests, remove errors.go --- errors_test.go | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 errors_test.go (limited to 'errors_test.go') diff --git a/errors_test.go b/errors_test.go deleted file mode 100755 index 86ab908d..00000000 --- a/errors_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package roadrunner - -import ( - "errors" - "testing" - - "github.com/stretchr/testify/assert" -) - -func Test_JobError_Error(t *testing.T) { - e := ExecError([]byte("error")) - assert.Equal(t, "error", e.Error()) -} - -func Test_WorkerError_Error(t *testing.T) { - e := WorkerError{Worker: nil, Caused: errors.New("error")} - assert.Equal(t, "error", e.Error()) -} -- cgit v1.2.3