summaryrefslogtreecommitdiff
path: root/worker_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker_test.go')
-rw-r--r--worker_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/worker_test.go b/worker_test.go
index 5f6d336d..6e65c998 100644
--- a/worker_test.go
+++ b/worker_test.go
@@ -184,13 +184,13 @@ func Test_NumExecs(t *testing.T) {
defer w.Stop()
w.Exec(&Payload{Body: []byte("hello")})
- assert.Equal(t, uint64(1), w.State().NumExecs())
+ assert.Equal(t, int64(1), w.State().NumExecs())
w.Exec(&Payload{Body: []byte("hello")})
- assert.Equal(t, uint64(2), w.State().NumExecs())
+ assert.Equal(t, int64(2), w.State().NumExecs())
w.Exec(&Payload{Body: []byte("hello")})
- assert.Equal(t, uint64(3), w.State().NumExecs())
+ assert.Equal(t, int64(3), w.State().NumExecs())
}
func Test_StateUpdated(t *testing.T) {