Files
config/test/require/true.go
andrey d864996848
Some checks failed
continuous-integration/drone/push Build is failing
update go mod
2024-01-25 20:08:57 +03:00

15 lines
182 B
Go

package require
import (
"testing"
)
func Truef(t *testing.T, value bool, msg string, args ...interface{}) {
t.Helper()
if !value {
t.Errorf(msg, args...)
t.FailNow()
}
}