mirror of
https://github.com/stretchr/testify.git
synced 2025-07-13 07:39:48 +00:00
Fix grammer on assert.Len()
🐹
This commit is contained in:
parent
653e88ba55
commit
27b1e9d9f2
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user