tools.completion: add test that empty completions preserve order.

db4
John Benediktsson 2011-09-17 09:00:43 -07:00
parent e8dad98240
commit c5601cd86e
1 changed files with 4 additions and 0 deletions
basis/tools/completion

View File

@ -12,3 +12,7 @@ IN: tools.completion
[ { "nth" "?nth" "set-nth" } ] [
"nth" { "set-nth" "nth" "?nth" } dup zip completions keys
] unit-test
[ { "a" "b" "c" "d" "e" "f" "g" } ] [
"" { "a" "b" "c" "d" "e" "f" "g" } dup zip completions keys
] unit-test