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.
(t TestingT, path string, msg string, args ...interface{})
| 240 | // FileExistsf checks whether a file exists in the given path. It also fails if |
| 241 | // the path points to a directory or there is an error when trying to check the file. |
| 242 | func FileExistsf(t TestingT, path string, msg string, args ...interface{}) bool { |
| 243 | if h, ok := t.(tHelper); ok { |
| 244 | h.Helper() |
| 245 | } |
| 246 | return FileExists(t, path, append([]interface{}{msg}, args...)...) |
| 247 | } |
| 248 | |
| 249 | // Greaterf asserts that the first element is greater than the second |
| 250 | // |
no test coverage detected