summaryrefslogtreecommitdiff
path: root/sync_worker_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2020-10-26 21:46:23 +0300
committerWolfy-J <[email protected]>2020-10-26 21:46:23 +0300
commit2176584129e493e08aed158bc050070d520ee183 (patch)
tree0d4664ef76ff6515fa965690a79dc69604eb3849 /sync_worker_test.go
parent9d2de5e46110c07eceb87dcfde3af9b6a6c4a76c (diff)
- implement worker debug mode
Diffstat (limited to 'sync_worker_test.go')
-rwxr-xr-xsync_worker_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync_worker_test.go b/sync_worker_test.go
index 7f969283..1bc2deb1 100755
--- a/sync_worker_test.go
+++ b/sync_worker_test.go
@@ -206,7 +206,7 @@ func Test_Error(t *testing.T) {
assert.Nil(t, res.Body)
assert.Nil(t, res.Context)
- assert.IsType(t, JobError{}, err)
+ assert.IsType(t, ExecError{}, err)
assert.Equal(t, "hello", err.Error())
}