Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MatchesMultiline Checker = &matchesChecker{ &CheckerInfo{Name: "Matches", Params: []string{"value", "regex"}}, }
The Matches checker verifies that the string provided as the obtained value (or the string resulting from obtained.String()) matches the regular expression provided.
For example:
c.Assert(err, Matches, "perm.*denied")
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.