/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prio-queue: add 'peek' operation
[git/git.git]
/
t
/
t0009-prio-queue.sh
diff --git
a/t/t0009-prio-queue.sh
b/t/t0009-prio-queue.sh
index
e56dfce
..
3941ad2
100755
(executable)
--- a/
t/t0009-prio-queue.sh
+++ b/
t/t0009-prio-queue.sh
@@
-47,4
+47,18
@@
test_expect_success 'notice empty queue' '
test_cmp expect actual
'
+cat >expect <<'EOF'
+3
+2
+6
+4
+5
+1
+8
+EOF
+test_expect_success 'stack order' '
+ test-tool prio-queue stack 8 1 5 4 6 2 3 dump >actual &&
+ test_cmp expect actual
+'
+
test_done