diff options
author | Wolfy-J <[email protected]> | 2018-06-11 11:32:22 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-11 11:32:22 +0300 |
commit | f1e09d869e9a177228aadb6385ad578d2e29f90d (patch) | |
tree | fbc6228c4fa314d9379414cd28c20e71316acd5b /worker_test.go | |
parent | 2f135b359575cc1625d1461bb6d8e478da8ccf54 (diff) |
fixing tests
Diffstat (limited to 'worker_test.go')
-rw-r--r-- | worker_test.go | 6 |
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) { |