NotSubsetf asserts that the specified list(array, slice...) or map does NOT contain all elements given in the specified subset list(array, slice...) or map. assert.NotSubsetf(t, [1, 3, 4], [1, 2], "error message %s", "formatted") assert.NotSubsetf(t, {"x": 1, "y": 2}, {"z": 3}, "error message %s"
(t TestingT, list interface{}, subset interface{}, msg string, args ...interface{})
| 700 | // assert.NotSubsetf(t, [1, 3, 4], [1, 2], "error message %s", "formatted") |
| 701 | // assert.NotSubsetf(t, {"x": 1, "y": 2}, {"z": 3}, "error message %s", "formatted") |
| 702 | func NotSubsetf(t TestingT, list interface{}, subset interface{}, msg string, args ...interface{}) bool { |
| 703 | if h, ok := t.(tHelper); ok { |
| 704 | h.Helper() |
| 705 | } |
| 706 | return NotSubset(t, list, subset, append([]interface{}{msg}, args...)...) |
| 707 | } |
| 708 | |
| 709 | // NotZerof asserts that i is not the zero value for its type. |
| 710 | func NotZerof(t TestingT, i interface{}, msg string, args ...interface{}) bool { |
no test coverage detected