tools.completion: add test that empty completions preserve order.
parent
e8dad98240
commit
c5601cd86e
|
@ -12,3 +12,7 @@ IN: tools.completion
|
||||||
[ { "nth" "?nth" "set-nth" } ] [
|
[ { "nth" "?nth" "set-nth" } ] [
|
||||||
"nth" { "set-nth" "nth" "?nth" } dup zip completions keys
|
"nth" { "set-nth" "nth" "?nth" } dup zip completions keys
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
|
[ { "a" "b" "c" "d" "e" "f" "g" } ] [
|
||||||
|
"" { "a" "b" "c" "d" "e" "f" "g" } dup zip completions keys
|
||||||
|
] unit-test
|
||||||
|
|
Loading…
Reference in New Issue