We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b49aae commit 9074808Copy full SHA for 9074808
1 file changed
test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1
@@ -1368,6 +1368,12 @@ param([ValidatePattern(
1368
$res = TabExpansion2 -inputScript $TextInput -cursorColumn $TextInput.Length
1369
$completionText = $res.CompletionMatches.CompletionText
1370
$completionText -join ' ' | Should -BeExactly $ExpectedPropertyTypes
1371
+
1372
+ foreach ($match in $res.CompletionMatches) {
1373
+ $completionText = $match.CompletionText.Replace("""", "").Replace("'", "")
1374
+ $listItemText = $match.ListItemText
1375
+ $completionText | Should -BeExactly $listItemText
1376
+ }
1377
}
1378
1379
It "Test fallback to provider of current location if no path specified" -Skip:(!$IsWindows) {
0 commit comments