Skip to content

Commit

Permalink
📝 Fix incorrect number in number check (#322)
Browse files Browse the repository at this point in the history
Update the number check to match what is in the comment preceding it. Otherwise it is evaluating the wrong question and is confusing, plus the original number would be a repeat of a previous check.
  • Loading branch information
jessiewestlake authored and vexx32 committed Nov 7, 2019
1 parent c044d0a commit 334fa14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSKoans/Koans/Introduction/AboutBinary.Koans.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Describe "Binary conversion" {

# Replace __ with the binary value of 14
$Binary = "__"
$Value = 7
$Value = 14
$Value | Should -Be ([Convert]::ToInt32($Binary, 2))

# Replace __ with the binary value of 103
Expand Down

0 comments on commit 334fa14

Please sign in to comment.