Documentation
¶
Index ¶
- func Eq[C comparable](t *testing.T, context string, expected, actual C)
- func FatalErr(t *testing.T, context string, err error)
- func FatalErrAs(t *testing.T, context string, err error, target any)
- func FatalErrIs(t *testing.T, context string, err, target error)
- func FatalTrue(t *testing.T, context string, condition bool)
- func SlicesEq[S ~[]E, E comparable](t *testing.T, context string, expected, actual S)
- func Snapshot(t *testing.T, path string, actual []byte)
- func SnapshotJson(t *testing.T, actual any)
- func SnapshotText(t *testing.T, actual string)
- func SnapshotXml(t *testing.T, actual any)
- func True(t *testing.T, context string, condition bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SlicesEq ¶
func SlicesEq[S ~[]E, E comparable](t *testing.T, context string, expected, actual S)
func SnapshotJson ¶
func SnapshotText ¶
func SnapshotXml ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.