Nilf asserts that the specified object is nil. a.Nilf(err, "error message %s", "formatted")
(object interface{}, msg string, args ...interface{})
| 1072 | // |
| 1073 | // a.Nilf(err, "error message %s", "formatted") |
| 1074 | func (a *Assertions) Nilf(object interface{}, msg string, args ...interface{}) bool { |
| 1075 | if h, ok := a.t.(tHelper); ok { |
| 1076 | h.Helper() |
| 1077 | } |
| 1078 | return Nilf(a.t, object, msg, args...) |
| 1079 | } |
| 1080 | |
| 1081 | // NoDirExists checks whether a directory does not exist in the given path. |
| 1082 | // It fails if the path points to an existing _directory_ only. |