summaryrefslogtreecommitdiff
path: root/errors_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-26 12:01:53 +0300
committerGitHub <[email protected]>2020-10-26 12:01:53 +0300
commit91cf918b30938129609323ded53e190385e019a6 (patch)
tree0ad9537bd438c63719fb83343ab77fc4ab34eb83 /errors_test.go
parent68bf13772c6ddfc5159c2a286e1a38e911614e72 (diff)
parent9aae9e2009bad07ebdee73e1c6cf56901d07880a (diff)
Merge pull request #373 from spiral/feature/new-worker-produces-active-worker
Feature/new worker produces active worker
Diffstat (limited to 'errors_test.go')
-rwxr-xr-xerrors_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/errors_test.go b/errors_test.go
index 69f1c9ec..75a86840 100755
--- a/errors_test.go
+++ b/errors_test.go
@@ -8,7 +8,7 @@ import (
)
func Test_JobError_Error(t *testing.T) {
- e := TaskError([]byte("error"))
+ e := JobError([]byte("error"))
assert.Equal(t, "error", e.Error())
}