]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0009-prio-queue.sh
Merge branch 'bb/unicode-12.1-reiwa' into maint
[thirdparty/git.git] / t / t0009-prio-queue.sh
index e56dfce6680298c133bc2b2de12d9492fda66b7a..3941ad25286562a57faa63d4ba37604d1fd708bd 100755 (executable)
@@ -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