package assert

Import Path
	gotest.tools/v3/internal/assert (on go.dev)

Dependency Relation
	imports 8 packages, and imported by one package

Involved Source Files Package assert provides internal utilties for assertions. result.go
Package-Level Type Names (total 6, in which 1 are exported)
/* sort exporteds by: | */
LogT is the subset of testing.T used by the assert package. ( LogT) Log(args ...interface{}) gotest.tools/v3/assert.TestingT (interface) *testing.B *testing.F *testing.T testing.TB (interface) func Eval(t LogT, argSelector argSelector, comparison interface{}, msgAndArgs ...interface{}) bool func RunComparison(t LogT, argSelector argSelector, f cmp.Comparison, msgAndArgs ...interface{}) bool
Package-Level Functions (total 11, in which 5 are exported)
ArgsAfterT selects args starting at position 1. Used when the caller has a testing.T as the first argument, and the args to select should follow it.
ArgsAtZeroIndex selects args from the CallExpression at position 1. Used when the caller accepts a single cmp.Comparison argument.
ArgsFromComparisonCall selects args from the CallExpression at position 1. Used when the caller has a testing.T as the first argument, and the args to select are passed to the cmp.Comparison at position 1.
Eval the comparison and print a failure messages if the comparison has failed.
RunComparison and return Comparison.Success. If the comparison fails a messages will be printed using t.Log.
Package-Level Constants (only one, which is unexported)