Merge pull request #80 from capoferro/patch-1

Fix grammer on assert.Len()
pull/86/head
Tyler 2014-09-04 20:00:59 -06:00
commit c910098884
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ func Len(t TestingT, object interface{}, length int, msgAndArgs ...interface{})
} }
if l != length { if l != length {
return Fail(t, fmt.Sprintf("\"%s\" should have %d item(s), but have %d", object, length, l), msgAndArgs...) return Fail(t, fmt.Sprintf("\"%s\" should have %d item(s), but has %d", object, length, l), msgAndArgs...)
} }
return true return true
} }