Falsef asserts that the specified value is false. a.Falsef(myBool, "error message %s", "formatted")
(value bool, msg string, args ...interface{})
| 446 | // |
| 447 | // a.Falsef(myBool, "error message %s", "formatted") |
| 448 | func (a *Assertions) Falsef(value bool, msg string, args ...interface{}) bool { |
| 449 | if h, ok := a.t.(tHelper); ok { |
| 450 | h.Helper() |
| 451 | } |
| 452 | return Falsef(a.t, value, msg, args...) |
| 453 | } |
| 454 | |
| 455 | // FileExists checks whether a file exists in the given path. It also fails if |
| 456 | // the path points to a directory or there is an error when trying to check the file. |