Fix grammer on assert.Len()

🐹
pull/80/head
Josiah Kiehl (formerly @bluepojo) 2014-09-04 15:55:45 -07:00
parent 653e88ba55
commit 27b1e9d9f2
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 {
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
}