We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8496b commit df425f2Copy full SHA for df425f2
trie/ctrie/ctrie_test.go
@@ -293,7 +293,7 @@ func TestIterator(t *testing.T) {
293
close(cancel)
294
// Drain anything already put on the channel. Since select chooses a
295
// pseudo-random case, we must attempt to drain for every item.
296
- for i := 0; i < 10; i++ {
+ for _ = range expected {
297
<-iter
298
}
299
_, ok = <-iter
0 commit comments