diff options
Diffstat (limited to 'errors_test.go')
-rwxr-xr-x | errors_test.go | 18 |
1 files changed, 0 insertions, 18 deletions
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()) -} |