summaryrefslogtreecommitdiff
path: root/pkg/priority_queue/binary_heap_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/priority_queue/binary_heap_test.go')
-rw-r--r--pkg/priority_queue/binary_heap_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/priority_queue/binary_heap_test.go b/pkg/priority_queue/binary_heap_test.go
index f30cf8d8..663741ad 100644
--- a/pkg/priority_queue/binary_heap_test.go
+++ b/pkg/priority_queue/binary_heap_test.go
@@ -32,8 +32,8 @@ func (t Test) ID() string {
return "none"
}
-func (t Test) Priority() uint64 {
- return uint64(t)
+func (t Test) Priority() int64 {
+ return int64(t)
}
func TestBinHeap_Init(t *testing.T) {