Skip to content

Commit 8ba26f4

Browse files
committed
Fix errors in AboutPSProviders
1 parent 9607da0 commit 8ba26f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Koans/Cmdlets 1/AboutPSProviders.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Describe 'Alias Provider' {
6666
}
6767

6868
It 'allows for seeking out aliases for a command' {
69-
$CmdletName = '__'
69+
$CmdletName = __
7070
$AliasData = Get-Alias -Definition $CmdletName
7171

7272
$AliasData.Name | Should -Be 'gcm'
@@ -80,9 +80,9 @@ Describe 'Alias Provider' {
8080

8181
It 'can create aliases too!' {
8282
Set-Alias -Name 'grok' -Value 'Get-Item'
83-
$File = grok '__'
83+
$File = grok $home
8484

85-
$File | Should -BeOfType 'System.IO.FileInfo'
85+
$File | Should -BeOfType __
8686
}
8787
}
8888

0 commit comments

Comments
 (0)