Browse Source
use assignment in tests (#12734)
Signed-off-by: Andrew Thornton <art27@cantab.net>
for-closed-social
zeripath
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
modules/queue/queue_disk_channel_test.go
-
modules/queue/queue_disk_test.go
|
|
@ -52,7 +52,7 @@ func TestPersistableChannelQueue(t *testing.T) { |
|
|
|
err = queue.Push(&test1) |
|
|
|
assert.NoError(t, err) |
|
|
|
go func() { |
|
|
|
err = queue.Push(&test2) |
|
|
|
err := queue.Push(&test2) |
|
|
|
assert.NoError(t, err) |
|
|
|
}() |
|
|
|
|
|
|
|
|
|
@ -65,7 +65,7 @@ func TestLevelQueue(t *testing.T) { |
|
|
|
err = queue.Push(&test1) |
|
|
|
assert.NoError(t, err) |
|
|
|
go func() { |
|
|
|
err = queue.Push(&test2) |
|
|
|
err := queue.Push(&test2) |
|
|
|
assert.NoError(t, err) |
|
|
|
}() |
|
|
|
|
|
|
|