Skip to content

Commit

Permalink
Fix #177 (#219)
Browse files Browse the repository at this point in the history
Change `Get-Random` example pipeline element to something more, eh, predictable 馃槄
  • Loading branch information
IISResetMe authored and vexx32 committed Jul 4, 2019
1 parent 09f013c commit 4c5e590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PSKoans/Koans/Cmdlets 1/AboutWhereObject.Koans.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Describe 'Where-Object' {

# Pipelines also work across line breaks (as long as the pipe is at the end of the line)
$Result = $ItemsWithNumbers |
Get-Random |
Select-Object -Last 1 |
Select-Object -ExpandProperty Name
__ | Should -Be $Result
}
Expand All @@ -45,4 +45,4 @@ Describe 'Where-Object' {
$FirstTwo = $Folders.Name | Select-Object -First 2
__ | Should -Be $FirstTwo
}
}
}

0 comments on commit 4c5e590

Please sign in to comment.