Skip to content

Commit 840b69f

Browse files
authored
🔧 Use integers instead of strings (#356)
1 parent b2e00b6 commit 840b69f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

PSKoans/Koans/Foundations/AboutComparison.Koans.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,14 @@ Describe 'Comparison Operators' {
101101
}
102102

103103
It 'will often return more than one item from arrays' {
104-
$Array = '1', '5', '10', '15', '20', '25', '30'
104+
$Array = 1, 5, 10, 15, 20, 25, 30
105105

106+
$NewArray = @(
107+
__
108+
__
109+
)
110+
$NewArray | Should -Be ($Array -lt 10)
106111
__ | Should -Be ($Array -gt 25)
107-
@('__', '__') | Should -Be ($Array -lt 10)
108-
109112
}
110113
}
111114

0 commit comments

Comments
 (0)