summaryrefslogtreecommitdiff
path: root/errors_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors_test.go')
-rw-r--r--errors_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/errors_test.go b/errors_test.go
index 69f1c9ec..75a86840 100644
--- 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())
}