diff --git a/services/archiver/archiver_test.go b/services/archiver/archiver_test.go index 4b6574bfd8..71a4fb905b 100644 --- a/services/archiver/archiver_test.go +++ b/services/archiver/archiver_test.go @@ -56,7 +56,7 @@ func releaseOneEntry(t *testing.T, inFlight []*ArchiveRequest) { assert.NotEqual(t, nowQueued, numQueued) // Also make sure that we released only one. - assert.Equal(t, nowQueued, numQueued + 1) + assert.Equal(t, nowQueued, numQueued+1) } func TestArchive_Basic(t *testing.T) {