func YesError(tb testing.TB, err error, msgAndArgs ...interface{}) {
	tb.Helper()
	if err == nil {
		fatal(tb, msgAndArgs, "Error is expected but got %v", err)
	}
}
func YesError(tb testing.TB, err error, msgAndArgs ...interface{}) {
	tb.Helper()
	if err == nil {
		fatal(tb, msgAndArgs, "Error is expected but got %v", err)
	}
}
func YesError ( tb testing . TB , err error , msgAndArgs ... interface { } ) { tb . Helper ( ) if err == nil { fatal ( tb , msgAndArgs , " " , err ) } }
// YesError checks for an error.
YesError checks for an error .