MCPcopy 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
280func 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
291func TestNotZero(t *testing.T) {
292

Callers

nothing calls this directly

Calls 2

ZeroFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…