Merge pull request #1328 from PowerShell/dongbo/type-completion

Fix issue #682 - [system.manage<Tab>] doesn't work
This commit is contained in:
Jason Shirk authored and GitHub committed 2016-07-08 16:16:32 -07:00
commit 5e1cbe0e5d
9 files changed
+79 -56

No files matched your search

@@ -0,0 +1,9 @@
Describe "Issue#682 - [system.manage<tab>] should work" {
It "[system.manage<tab>" {
$result = TabExpansion2 -inputScript "[system.manage" -cursorColumn "[system.manage".Length
$result | Should Not BeNullOrEmpty
$result.CompletionMatches.Count | Should Be 1
$result.CompletionMatches[0].CompletionText | Should Be "System.Management"
}
}