Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stretchr/testify
/ Error
Method
Error
assert/assertions_test.go:1593–1593 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1591
type
customError
struct
{}
1592
1593
func
(*customError) Error() string {
return
"fail"
}
1594
1595
func
TestError(t *testing.T) {
1596
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