package
0.0.0-20240614095155-da5732d4417d
Repository: https://github.com/kjk/common.git
Documentation: pkg.go.dev
# Functions
CallerInfo returns an array of strings containing the file and line number of each stack frame leading from the current test to the assert call that failed.
Empty asserts that the specified object is empty.
Equal asserts that two objects are equal.
Error asserts that a function returned an error (i.e.
Fail reports a failure through.
False asserts that the specified value is false.
Len asserts that the specified object has specific length.
Nil asserts that the specified object is nil.
NoError asserts that a function returned no error (i.e.
NotEmpty asserts that the specified object is NOT empty.
NotEqual asserts that the specified values are NOT equal.
NotNil asserts that the specified object is not nil.
ObjectsAreEqual determines if two objects are considered equal.
True asserts that the specified value is true.
# Interfaces
TestingT is an interface wrapper around *testing.T.