MCPcopy
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

1661type customError struct{}
1662
1663func (*customError) Error() string { return "fail" }
1664
1665func TestError(t *testing.T) {
1666 t.Parallel()

Callers 15

TestImplementsWrapperFunction · 0.45
TestIsTypeWrapperFunction · 0.45
TestEqualWrapperFunction · 0.45
TestEqualValuesWrapperFunction · 0.45
TestNotNilWrapperFunction · 0.45
TestNilWrapperFunction · 0.45
TestTrueWrapperFunction · 0.45
TestFalseWrapperFunction · 0.45
TestExactlyWrapperFunction · 0.45
TestNotEqualWrapperFunction · 0.45
TestContainsWrapperFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected