Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ class InheritedClassTest : System.Attribute
Context "Cmdlet name completion" {
BeforeAll {
$testCases = @(
@{ inputStr = "get-c*item"; expected = "Get-ChildItem" }
@{ inputStr = "get-ch*item"; expected = "Get-ChildItem" }
@{ inputStr = "set-alia?"; expected = "Set-Alias" }
@{ inputStr = "s*-alias"; expected = "Set-Alias" }
@{ inputStr = "se*-alias"; expected = "Set-Alias" }
Expand Down Expand Up @@ -1988,7 +1988,7 @@ dir -Recurse `
}

It "Test complete module file name" {
$inputStr = "using module test"
$inputStr = "using module testm"
$res = TabExpansion2 -inputScript $inputStr -cursorColumn $inputStr.Length
$res.CompletionMatches | Should -HaveCount 1
$res.CompletionMatches[0].CompletionText | Should -BeExactly ".${separator}testModule.psm1"
Expand Down