Falsef asserts that the specified value is false. assert.Falsef(t, myBool, "error message %s", "formatted")
(t TestingT, value bool, msg string, args ...interface{})
| 224 | // |
| 225 | // assert.Falsef(t, myBool, "error message %s", "formatted") |
| 226 | func Falsef(t TestingT, value bool, msg string, args ...interface{}) bool { |
| 227 | if h, ok := t.(tHelper); ok { |
| 228 | h.Helper() |
| 229 | } |
| 230 | return False(t, value, append([]interface{}{msg}, args...)...) |
| 231 | } |
| 232 | |
| 233 | // FileExistsf checks whether a file exists in the given path. It also fails if |
| 234 | // the path points to a directory or there is an error when trying to check the file. |