MCPcopy Index your code
hub / github.com/coder/slog / False

Function False

internal/assert/assert.go:52–55  ·  view source on GitHub ↗

False asserts false == act.

(t testing.TB, name string, act bool)

Source from the content-addressed store, hash-verified

50
51// False asserts false == act.
52func False(t testing.TB, name string, act bool) {
53 t.Helper()
54 Equal(t, name, false, act)
55}
56
57// Len asserts n == len(a).
58func Len(t testing.TB, name string, n int, a interface{}) {

Callers 4

TestStdlibFunction · 0.92
TestMakeFunction · 0.92
Test_errorsIsAnyFunction · 0.92

Calls 2

EqualFunction · 0.70
HelperMethod · 0.45

Tested by 4

TestStdlibFunction · 0.74
TestMakeFunction · 0.74
Test_errorsIsAnyFunction · 0.74