Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compare ¶
func Compare(expected, actual interface{}, params CompareParams) []error
Compare compares values as plain text It can be compared several ways:
- Pure values: should be equal
- Regex: try to compile 'expected' as regex and match 'actual' with it It activates on following syntax: $matchRegexp(%EXPECTED_VALUE%)
Types ¶
type CompareParams ¶
Click to show internal directories.
Click to hide internal directories.