package
1.2.0-rc
Repository: https://github.com/go-spring/spring-core.git
Documentation: pkg.go.dev

# Functions

Equal assertion failed when got and expect are not `deeply equal`.
Error assertion failed when got `error` doesn't match expr expression.
False assertion failed when got is true.
Implements assertion failed when got doesn't implement expect.
InMapKeys assertion failed when got is not in keys of expect map.
InMapValues assertion failed when got is not in values of expect map.
InSlice assertion failed when got is not in expect array & slice.
JsonEqual assertion failed when got and expect are not `json equal`.
Matches assertion failed when got doesn't match expr expression.
NewMockT creates a new mock instance.
Nil assertion failed when got is not nil.
NotEqual assertion failed when got and expect are `deeply equal`.
NotInSlice assertion failed when got is in expect array & slice.
NotNil assertion failed when got is nil.
NotSame assertion failed when got and expect are same.
Panic assertion failed when fn doesn't panic or not match expr expression.
Same assertion failed when got and expect are not same.
String returns an assertion for type string.
SubInSlice assertion failed when got is not sub in expect array & slice.
True assertion failed when got is false.
TypeOf assertion failed when got and expect are not same type.

# Structs

MockT is a mock of T interface.
MockTMockRecorder is the mock recorder for MockT.
StringAssertion assertion for type string.

# Interfaces

T is the minimum interface of *testing.T.