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