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{})
| 479 | // FileExistsf checks whether a file exists in the given path. It also fails if |
| 480 | // the path points to a directory or there is an error when trying to check the file. |
| 481 | func (a *Assertions) FileExistsf(path string, msg string, args ...interface{}) { |
| 482 | if h, ok := a.t.(tHelper); ok { |
| 483 | h.Helper() |
| 484 | } |
| 485 | FileExistsf(a.t, path, msg, args...) |
| 486 | } |
| 487 | |
| 488 | // Greater asserts that the first element is greater than the second |
| 489 | // |
nothing calls this directly
no test coverage detected