package checker
import "github.com/docker/docker/integration-cli/checker"
Package checker provides helpers for gotest.tools/assert. Please remove this package whenever possible.
Index ¶
Types ¶
type Compare ¶
type Compare func(x interface{}) assert.BoolOrComparison
Compare defines the interface to compare values
func Contains ¶
func Contains(y interface{}) Compare
Contains checks if the value contains the given value
func DeepEquals ¶
func DeepEquals(y interface{}) Compare
DeepEquals checks if two values are equal
func Equals ¶
func Equals(y interface{}) Compare
Equals checks if the value is equal to the given value
func False ¶
func False() Compare
False checks if the value is false
func GreaterThan ¶
GreaterThan checks if the value is greater than the given value
func HasLen ¶
HasLen checks if the value has the expected number of elements
func IsNil ¶
func IsNil() Compare
IsNil checks if the value is nil
func Not ¶
Not checks if two values are not
func True ¶
func True() Compare
True checks if the value is true
Source Files ¶
- Version
- v26.0.1+incompatible
- Published
- Apr 10, 2024
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 6 minutes ago –
Tools for package owners.