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:
parent
0004a9c7e0
commit
81794b5268
@ -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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user