Documentation
¶
Index ¶
- func AssertEqual(t *testing.T, expected interface{}, actual interface{}, pads ...string)
- func AssertErrorMessage(t *testing.T, expected string, err error, pads ...string)
- func AssertFalse(t *testing.T, object bool, pads ...string)
- func AssertLinesMatch(t *testing.T, arg interface{}, format string, expected interface{})
- func AssertMatch(t *testing.T, pattern, value string, pads ...string)
- func AssertNil(t *testing.T, object interface{}, pads ...string)
- func AssertNotEqual(t *testing.T, expected interface{}, actual interface{}, pads ...string)
- func AssertNotNil(t *testing.T, object interface{}, pads ...string)
- func AssertTrue(t *testing.T, object bool, pads ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
AssertEqual is a semantic test assertion for object equality.
func AssertErrorMessage ¶
AssertErrorMessage is a semantic test assertion for error "message context" equality.
func AssertFalse ¶
AssertFalse is a semantic test assertion for object truthiness.
func AssertLinesMatch ¶
AssertLinesMatch breaks up multiple lines and matches each with a regex per.
func AssertMatch ¶
AssertMatch is a semantic test assertion for string regex matching. If the pattern is empty we match only with an empty string for simplicity.
func AssertNotEqual ¶
AssertNotEqual is a semantic test assertion for object equality.
func AssertNotNil ¶
AssertNotNil is a semantic test assertion for nility.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.