code: func Panicsf(t TestingT, f PanicTestFunc, msg string, args ...interface{}) bool {
  	if h, ok := t.(tHelper); ok {
  		h.Helper()
  	}
  	return Panics(t, f, append([]interface{}{msg}, args...)...)
  }
docs: // Panicsf asserts that the code inside the specified PanicTestFunc panics.
  //
  //   assert.Panicsf(t, func(){ GoCrazy() }, "error message %s", "formatted")