mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 22:44:05 +08:00
complete the comment of builtin.Contains
Change-Id: I949e2ccda53960dd12f64bda3c9c69513f59d4ed
This commit is contained in:
@@ -87,7 +87,7 @@ func convertInt(value interface{}) (int, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Contains assert whether actual
|
// Contains assert whether actual element contains expected element
|
||||||
func Contains(t assert.TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool {
|
func Contains(t assert.TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool {
|
||||||
return assert.Contains(t, actual, expected, msgAndArgs)
|
return assert.Contains(t, actual, expected, msgAndArgs)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user