// Use [RequireTrue] for simple local predicates only. Do not use assertions or
// side effects in the predicate - use [Require] for these.
func RequireTrue(tb testing.TB, condition func() bool, timeout, pollInterval time.Duration) {
require_true.go
tb.Helper()
run(testcontext.For(tb), tb, func(t *T) {
if !condition() {
t.Fail()