Fix grammer on assert.Len()

🐹
This commit is contained in:
Josiah Kiehl (formerly @bluepojo) 2014-09-04 15:55:45 -07:00
parent 653e88ba55
commit 27b1e9d9f2

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
}