You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It 'can look for commands by module' {
$KoanCommands = Get-Command -Module 'PSKoans' |
Sort-Object -Property Name
$First4Commands = $KoanCommands | Select-Object -First 4
__ | Should -Be $KoanCommands.Count
@('__', '____', '____', '____') | Should -Be $KoanCommands.Name
}
Context "Your Attempts"
The assertion could only pass if there were 4 commands in the PSKoans module.
Correction: @('__', '____', '____', '____') | Should -Be $First4Commands.Name
Context "Additional Information"
The text was updated successfully, but these errors were encountered:
* 🔧 Resolve issues in AboutModules
Fixes#342
* 🔧 Fix issues in AboutTeeObject
Fixes#341
Also added a new koan to show when the variable is created
* 🔧 Fix issues in AboutMeasureObject
Fixes#340
* 🔧 Fix issues in AboutSelectObject
Fixes#339Fixes#337
* 🔧 Fix issue in AboutAssignmentAndArithmetic
Fixes#334
* 🔧 Fix issues in AboutDiscovery
Fixes#335Fixes#332
* 🔧 ♻️ Fix up AboutArrays
Fixes#330
* 🔧 Fix missing variable reference
* 🎨 Update format of array declaration
Describe "Koan Bug, Issue, or Help Request"
Context "The Problematic Assertions"
Context "Your Attempts"
The assertion could only pass if there were 4 commands in the PSKoans module.
Correction:
@('__', '____', '____', '____') | Should -Be $First4Commands.Name
Context "Additional Information"
The text was updated successfully, but these errors were encountered: