package
0.1.0
Repository: https://github.com/rliebz/ghost.git
Documentation: pkg.go.dev

# Functions

All asserts that every one of the provided assertions is true.
Any asserts that at least one of the provided assertions is true.
Close asserts that a value is within a delta of another.
DeepEqual asserts that two elements are deeply equal.
Equal asserts that two elements are equal.
Error asserts that an error is non-nil.
ErrorAs asserts that an error matches another using [errors.As].
ErrorContaining asserts that an error string contains a particular substring.
ErrorEqual asserts that an error string equals a particular message.
ErrorIs asserts that an error matches another using [errors.Is].
Eventually asserts that a function eventually returns an Ok [ghost.Result].
False asserts that a value is false.
Greater asserts that the first value provided is strictly greater than the second.
GreaterOrEqual asserts that the first value provided is greater than or equal to the second.
JSONEqual asserts that two sets of JSON-encoded data are equivalent.
Less asserts that the first value provided is strictly less than the second.
LessOrEqual asserts that the first value provided is less than or equal to the second.
MapLen asserts that the length of a map is a particular size.
Nil asserts that the given value is nil.
Not negates a [ghost.Result].
Panic asserts that the given function panics when invoked.
SliceContaining asserts that an element exists in a given slice.
SliceLen asserts that the length of a slice is a particular size.
StringContaining asserts that a substring exists in a given string.
True asserts that a value is true.
Zero asserts that the given value equals its zero value.