Fix tab completion test to handle multiple matches (#8891)

This commit is contained in:
James Truher [MSFT]
2019-03-11 14:51:22 -07:00
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) {