summaryrefslogtreecommitdiff
path: root/pkg/priorityqueue/binary_heap_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/priorityqueue/binary_heap_test.go')
-rw-r--r--pkg/priorityqueue/binary_heap_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/priorityqueue/binary_heap_test.go b/pkg/priorityqueue/binary_heap_test.go
index 6be6a99d..06d0735c 100644
--- a/pkg/priorityqueue/binary_heap_test.go
+++ b/pkg/priorityqueue/binary_heap_test.go
@@ -12,10 +12,12 @@ import (
type Test int
-func (t Test) Ack() {
+func (t Test) Ack() error {
+ return nil
}
-func (t Test) Nack() {
+func (t Test) Nack() error {
+ return nil
}
func (t Test) Body() []byte {