package
Version:
v0.1.94
Opens a new window with list of versions in this module.
Published: Apr 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package assert is a minimal testing utility package with inline
assertions.
func Equal(t *testing.T, want, got any, msgAndArgs ...interface{})
Equal immediately fails a test function if want is not equal to
got. It prints an optional formatted message with arguments.
Error immediately fails a test function if err does not contain
the target error in its tree.
NoError immediately fails a test function if err is not nil. It
prints an optional formatted message with arguments.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.