mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix tab completion test to handle multiple matches (#8891)
This commit is contained in:
committed by
Dongbo Wang
parent
6cdfc44184
commit
e605fbdea7
@@ -545,7 +545,7 @@ Describe "TabCompletion" -Tags CI {
|
||||
if ($null -ne $setup) { . $setup }
|
||||
$res = TabExpansion2 -inputScript $inputStr -cursorColumn $inputStr.Length
|
||||
$res.CompletionMatches.Count | Should -BeGreaterThan 0
|
||||
$res.CompletionMatches[0].CompletionText | Should -BeExactly $expected
|
||||
$res.CompletionMatches.CompletionText | Should -Contain $expected
|
||||
}
|
||||
|
||||
It "Tab completion UNC path" -Skip:(!$IsWindows) {
|
||||
|
||||
Reference in New Issue
Block a user