mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +00:00
Add some more tests for autosuggestion combining
This commit is contained in:
parent
b8135574c3
commit
8a357e1866
1 changed files with 4 additions and 0 deletions
|
@ -1032,6 +1032,10 @@ static void test_autosuggestion_combining()
|
|||
|
||||
// when the last token contains capital letters, we use its case
|
||||
assert(combine_command_and_autosuggestion(L"alPha", L"alphabeTa") == L"alPhabeTa");
|
||||
|
||||
// if autosuggestion is not longer than input, use the input's case
|
||||
assert(combine_command_and_autosuggestion(L"alpha", L"ALPHAA") == L"ALPHAA");
|
||||
assert(combine_command_and_autosuggestion(L"alpha", L"ALPHA") == L"alpha");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue