diff options
Diffstat (limited to 'errors_test.go')
-rw-r--r-- | errors_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/errors_test.go b/errors_test.go index 6bb650af..69f1c9ec 100644 --- a/errors_test.go +++ b/errors_test.go @@ -2,12 +2,13 @@ package roadrunner import ( "errors" - "github.com/stretchr/testify/assert" "testing" + + "github.com/stretchr/testify/assert" ) func Test_JobError_Error(t *testing.T) { - e := JobError([]byte("error")) + e := TaskError([]byte("error")) assert.Equal(t, "error", e.Error()) } |