summaryrefslogtreecommitdiff
path: root/errors_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-09 14:21:21 +0300
committerValery Piashchynski <[email protected]>2020-11-09 14:21:21 +0300
commite3a1669c8168320318291325f70ca35e2ab2eec3 (patch)
treef14875ecb4a86805226812108efcab72898b6125 /errors_test.go
parent9fbe7726dd55cfedda724b7644e1b6bf7c1a6cb4 (diff)
New tests, remove errors.go
Diffstat (limited to 'errors_test.go')
-rwxr-xr-xerrors_test.go18
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())
-}