Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/stretchr/testify
/ Error
Method
Error
assert/assertions_test.go:1663–1663 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1661
type
customError
struct
{}
1662
1663
func
(*customError) Error() string {
return
"fail"
}
1664
1665
func
TestError(t *testing.T) {
1666
t.Parallel()
Callers
15
TestImplementsWrapper
Function · 0.45
TestIsTypeWrapper
Function · 0.45
TestEqualWrapper
Function · 0.45
TestEqualValuesWrapper
Function · 0.45
TestNotNilWrapper
Function · 0.45
TestNilWrapper
Function · 0.45
TestTrueWrapper
Function · 0.45
TestFalseWrapper
Function · 0.45
TestExactlyWrapper
Function · 0.45
TestNotEqualWrapper
Function · 0.45
TestNotEqualValuesWrapper
Function · 0.45
TestContainsWrapper
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected