in testerror/error.go [77:81]
func (e *Error) ErrorNotContains(t *testing.T, substr string) { if strings.Contains(e.msg, substr) { t.Errorf("error '%s' does contain substring '%s'", e.msg, substr) } }