Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ TestZero
Function
TestZero
internal/testify/require/requirements_test.go:280–289 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
278
}
279
280
func
TestZero(t *testing.T) {
281
282
Zero(t,
""
)
283
284
mockT := new(MockT)
285
Zero(mockT,
"x"
)
286
if
!mockT.Failed {
287
t.Error(
"Check should fail"
)
288
}
289
}
290
291
func
TestNotZero(t *testing.T) {
292
Callers
nothing calls this directly
Calls
2
Zero
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…