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

Function False

sloggers/slogtest/assert/assert.go:54–57  ·  view source on GitHub ↗

False asserts act == false.

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

Source from the content-addressed store, hash-verified

52
53// False asserts act == false.
54func False(t testing.TB, name string, act bool) {
55 slog.Helper()
56 Equal(t, name, false, act)
57}
58
59// Error asserts err != nil.
60func Error(t testing.TB, name string, err error) {

Callers 1

TestFalseFunction · 0.92

Calls 2

EqualFunction · 0.70
HelperMethod · 0.45

Tested by 1

TestFalseFunction · 0.74