We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 519c82f commit fcad795Copy full SHA for fcad795
1 file changed
trie/dtrie/dtrie_test.go
@@ -155,7 +155,8 @@ func TestIterate(t *testing.T) {
155
for atomic.LoadInt64(&c) < 100 {
156
}
157
close(stop)
158
- assert.True(t, c > 99 && c < 1000)
+ cf := atomic.LoadInt64(&c)
159
+ assert.True(t, cf > 99 && cf < 1000)
160
// test with collisions
161
n = insertTest(t, collisionHash, 1000)
162
atomic.StoreInt64(&c, 0)
0 commit comments