Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqString ¶
func EqString(format string, args ...interface{}) types.GomegaMatcher
func MatchSQLString ¶
func MatchSQLString(expected interface{}) types.GomegaMatcher
MatchSQLString creates a matcher to test if a given `core.SQL` string output has a specific string or a matcher of a string.
func MatchSQLValues ¶
func MatchSQLValues(expected interface{}) types.GomegaMatcher
Types ¶
type SQLStringMatcher ¶
type SQLStringMatcher struct {
Expected interface{}
}
SQLStringMatcher matches a `core.SQL` `String()` value
func (*SQLStringMatcher) FailureMessage ¶
func (matcher *SQLStringMatcher) FailureMessage(actual interface{}) (message string)
func (*SQLStringMatcher) Match ¶
func (matcher *SQLStringMatcher) Match(actual interface{}) (success bool, err error)
func (*SQLStringMatcher) NegatedFailureMessage ¶
func (matcher *SQLStringMatcher) NegatedFailureMessage(actual interface{}) (message string)
type SQLValuesMatcher ¶
type SQLValuesMatcher struct {
Expected interface{}
}
SQLValuesMatcher matches a `core.SQL` `Values()` value
func (*SQLValuesMatcher) FailureMessage ¶
func (matcher *SQLValuesMatcher) FailureMessage(actual interface{}) (message string)
func (*SQLValuesMatcher) Match ¶
func (matcher *SQLValuesMatcher) Match(actual interface{}) (success bool, err error)
func (*SQLValuesMatcher) NegatedFailureMessage ¶
func (matcher *SQLValuesMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.