FileExistsf checks whether a file exists in the given path. It also fails if the path points to a directory or there is an error when trying to check the file.
(path string, msg string, args ...interface{})
| 464 | // FileExistsf checks whether a file exists in the given path. It also fails if |
| 465 | // the path points to a directory or there is an error when trying to check the file. |
| 466 | func (a *Assertions) FileExistsf(path string, msg string, args ...interface{}) bool { |
| 467 | if h, ok := a.t.(tHelper); ok { |
| 468 | h.Helper() |
| 469 | } |
| 470 | return FileExistsf(a.t, path, msg, args...) |
| 471 | } |
| 472 | |
| 473 | // Greater asserts that the first element is greater than the second |
| 474 | // |
nothing calls this directly
no test coverage detected