NotContainsf asserts that the specified string, list(array, slice...) or map does NOT contain the specified substring or element. a.NotContainsf("Hello World", "Earth", "error message %s", "formatted") a.NotContainsf(["Hello", "World"], "Earth", "error message %s", "formatted") a.NotContainsf({"
(s interface{}, contains interface{}, msg string, args ...interface{})
| 1160 | // a.NotContainsf(["Hello", "World"], "Earth", "error message %s", "formatted") |
| 1161 | // a.NotContainsf({"Hello": "World"}, "Earth", "error message %s", "formatted") |
| 1162 | func (a *Assertions) NotContainsf(s interface{}, contains interface{}, msg string, args ...interface{}) bool { |
| 1163 | if h, ok := a.t.(tHelper); ok { |
| 1164 | h.Helper() |
| 1165 | } |
| 1166 | return NotContainsf(a.t, s, contains, msg, args...) |
| 1167 | } |
| 1168 | |
| 1169 | // NotElementsMatch asserts that the specified listA(array, slice...) is NOT equal to specified |
| 1170 | // listB(array, slice...) ignoring the order of the elements. If there are duplicate elements, |
nothing calls this directly
no test coverage detected