routing: correct recent type change in heap_test.go

This commit is contained in:
Olaoluwa Osuntokun 2018-02-12 16:44:35 -08:00
parent 452d12809e
commit 7abdd30a87
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func TestHeapOrdering(t *testing.T) {
sortedEntries := make([]nodeWithDist, 0, numEntries)
for i := 0; i < numEntries; i++ {
entry := nodeWithDist{
dist: prand.Float64(),
dist: prand.Int63(),
}
heap.Push(&nodeHeap, entry)