Documentation ¶
Index ¶
- func Contains(s, contains interface{}) (bool, string)
- func EndsWith(s, suffix interface{}) (bool, string)
- func Equal(actual interface{}, expected interface{}) (bool, string)
- func Greater(e1 interface{}, e2 interface{}) (bool, string)
- func GreaterOrEqual(e1 interface{}, e2 interface{}) (bool, string)
- func In(element, s interface{}) (bool, string)
- func Less(e1 interface{}, e2 interface{}) (bool, string)
- func LessOrEqual(e1 interface{}, e2 interface{}) (bool, string)
- func Matches(text, expr interface{}) (bool, string)
- func NoError(err error) (bool, string)
- func NotContains(s, contains interface{}) (bool, string)
- func NotEndsWith(s, suffix interface{}) (bool, string)
- func NotIn(element, s interface{}) (bool, string)
- func NotMatches(text, expr interface{}) (bool, string)
- func NotStartsWith(s, prefix interface{}) (bool, string)
- func RegexpMatch(text string, expr string) bool
- func StartsWith(s, prefix interface{}) (bool, string)
- func StringContainsAll(s, elements interface{}) (bool, string)
- func StringNotContainsAll(s, elements interface{}) (bool, string)
- type AssertFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GreaterOrEqual ¶
func LessOrEqual ¶
func NotContains ¶
func NotEndsWith ¶
func NotMatches ¶
func NotStartsWith ¶
func RegexpMatch ¶
func StartsWith ¶
func StringContainsAll ¶ added in v1.0.9
StringContainsAll string a should contains all elements
func StringNotContainsAll ¶ added in v1.0.9
StringContainsAll string a should not contains all elements
Types ¶
type AssertFunc ¶
Click to show internal directories.
Click to hide internal directories.