Skip to content

Commit

Permalink
Correct typo in assert.InDeltaMapValues
Browse files Browse the repository at this point in the history
s/numbe/number
  • Loading branch information
jinnovation authored and ernesto-jimenez committed Jan 31, 2018
1 parent 33e9130 commit 85c7900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assert/assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ func InDeltaMapValues(t TestingT, expected, actual interface{}, delta float64, m
actualMap := reflect.ValueOf(actual)

if expectedMap.Len() != actualMap.Len() {
return Fail(t, "Arguments must have the same numbe of keys", msgAndArgs...)
return Fail(t, "Arguments must have the same number of keys", msgAndArgs...)
}

for _, k := range expectedMap.MapKeys() {
Expand Down

0 comments on commit 85c7900

Please sign in to comment.