VerifyF validates the condition, printing the message on failure.
(t *testing.T, b bool, fmt string, args ...any)
| 59 | |
| 60 | // VerifyF validates the condition, printing the message on failure. |
| 61 | func VerifyF(t *testing.T, b bool, fmt string, args ...any) { |
| 62 | t.Helper() |
| 63 | if !b { |
| 64 | t.Errorf("validation failure: "+fmt, args...) |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | // AssertF validates the condition, and aborts the test if it fails. |
| 69 | func AssertF(t *testing.T, b bool, fmt string, args ...any) { |
no outgoing calls
searching dependent graphs…