package
Version:
v0.0.0-...-bb7c160
Opens a new window with list of versions in this module.
Published: May 30, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type TestQuery struct {
}
TestQuery is a query that we can assert the result of
Query creates a new query on which one can assert things
func (*TestQuery) Columns ¶
func (q *TestQuery) Columns(expected map[string]interface{}, msgAndArgs ...interface{})
Columns asserts that the query returns the given column values
func (q *TestQuery) Returns(expected interface{}, msgAndArgs ...interface{})
Returns asserts that the query returns a single value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.