1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-28 13:48:51 +08:00

Removed ineffectual assignment

This commit is contained in:
Michael Teuscher 2019-01-22 23:32:19 +01:00
parent 0004a9c7e0
commit 81794b5268
No known key found for this signature in database
GPG Key ID: 3F38EF5228BAF9AF

View File

@ -107,7 +107,7 @@ func TestPullBlocksUntilAvailable(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Millisecond)
defer cancel()
got, err := q.Pull(ctx)
_, err := q.Pull(ctx)
if err == nil {
t.Fatal("Pull => expected timeout error, got nil")
}