Skip to content

Commit

Permalink
Moved $Aliases to the correct scope (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlarse authored and vexx32 committed May 15, 2019
1 parent e0a54b0 commit f67a246
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions PSKoans/Koans/Cmdlets 1/AboutPSProviders.Koans.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ Describe 'Alias Provider' {
when a new module is imported.
#>
Context 'Direct Access' {
$Aliases = Get-ChildItem 'Alias:'

It 'can be queried with generic provider cmdlets' {
$Aliases = Get-ChildItem 'Alias:'

__ | Should -Be $Aliases.Name[0]
__ | Should -Be $Aliases.Definition[0]
}
Expand Down

0 comments on commit f67a246

Please sign in to comment.