DirExistsf checks whether a directory exists in the given path. It also fails if the path is a file rather a directory or there is an error checking whether it exists.
(t TestingT, path string, msg string, args ...interface{})
| 32 | // DirExistsf checks whether a directory exists in the given path. It also fails |
| 33 | // if the path is a file rather a directory or there is an error checking whether it exists. |
| 34 | func DirExistsf(t TestingT, path string, msg string, args ...interface{}) bool { |
| 35 | if h, ok := t.(tHelper); ok { |
| 36 | h.Helper() |
| 37 | } |
| 38 | return DirExists(t, path, append([]interface{}{msg}, args...)...) |
| 39 | } |
| 40 | |
| 41 | // ElementsMatchf asserts that the specified listA(array, slice...) is equal to specified |
| 42 | // listB(array, slice...) ignoring the order of the elements. If there are duplicate elements, |
no test coverage detected