Skip to content

Commit 010e361

Browse files
jessiewestlakevexx32
authored andcommittedNov 7, 2019
🐛 Fix assertion so it isn't already true (#323)
Two of the tests were already true, so it showed progress already being complete. Converted those two tests to be consistent with the others in the same section.
1 parent 134a2da commit 010e361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎PSKoans/Koans/Foundations/AboutAssignmentAndArithmetic.Koans.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ Describe 'Assignment/Arithmetic Combination Operators' {
180180
It 'is a bit unwieldy to assign and increment without combination operators' {
181181
$Value = 5
182182
$Value = $Value + 5
183-
$Value | Should -Be 10
183+
__ | Should -Be $Value
184184
}
185185

186186
It 'is possible to combine assignment and addition' {
187187
$Value = 12
188188
$Value += 7
189-
$Value | Should -Be 19
189+
__ | Should -Be $Value
190190
}
191191

192192
It 'is also possible to combine subtraction with assignment' {

0 commit comments

Comments
 (0)