Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ TestEqual
Function
TestEqual
internal/testify/require/requirements_test.go:60–70 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
58
}
59
60
func
TestEqual(t *testing.T) {
61
62
Equal(t, 1, 1)
63
64
mockT := new(MockT)
65
Equal(mockT, 1, 2)
66
if
!mockT.Failed {
67
t.Error(
"Check should fail"
)
68
}
69
70
}
71
72
func
TestNotEqual(t *testing.T) {
73
Callers
nothing calls this directly
Calls
2
Equal
Function · 0.70
Error
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…