Falsef asserts that the specified value is false. assert.Falsef(t, myBool, "error message %s", "formatted")
(t TestingT, value bool, msg string, args ...interface{})
| 559 | // |
| 560 | // assert.Falsef(t, myBool, "error message %s", "formatted") |
| 561 | func Falsef(t TestingT, value bool, msg string, args ...interface{}) { |
| 562 | if h, ok := t.(tHelper); ok { |
| 563 | h.Helper() |
| 564 | } |
| 565 | if assert.Falsef(t, value, msg, args...) { |
| 566 | return |
| 567 | } |
| 568 | t.FailNow() |
| 569 | } |
| 570 | |
| 571 | // FileExists checks whether a file exists in the given path. It also fails if |
| 572 | // the path points to a directory or there is an error when trying to check the file. |