summaryrefslogtreecommitdiff
path: root/worker_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-11 11:32:22 +0300
committerWolfy-J <[email protected]>2018-06-11 11:32:22 +0300
commitf1e09d869e9a177228aadb6385ad578d2e29f90d (patch)
treefbc6228c4fa314d9379414cd28c20e71316acd5b /worker_test.go
parent2f135b359575cc1625d1461bb6d8e478da8ccf54 (diff)
fixing tests
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) {