Commit 1abbdfe3 authored by Jakub Sztandera's avatar Jakub Sztandera

Fix test

License: MIT
Signed-off-by: default avatarJakub Sztandera <kubuxu@protonmail.ch>
parent 63128f5d
...@@ -53,7 +53,7 @@ func TestCorrectnessOfPop(t *testing.T) { ...@@ -53,7 +53,7 @@ func TestCorrectnessOfPop(t *testing.T) {
var priorities []int var priorities []int
for q.Len() > 0 { for q.Len() > 0 {
i := q.Pop().(*TestElem).Priority i := q.Pop().(*TestElem).Priority
t.Log("popped %v", i) t.Logf("popped %v", i)
priorities = append(priorities, i) priorities = append(priorities, i)
} }
if !sort.IntsAreSorted(priorities) { if !sort.IntsAreSorted(priorities) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment