code: func Panics(t TestingT, f PanicTestFunc, msgAndArgs ...interface{}) bool {
  	if h, ok := t.(tHelper); ok {
  		h.Helper()
  	}
  
  	if funcDidPanic, panicValue := didPanic(f); !funcDidPanic {
  		return Fail(t, fmt.Sprintf("func %#v should panic\n\tPanic value:\t%#v", f, panicValue), msgAndArgs...)
  	}
  
  	return true
  }
docs: // Panics asserts that the code inside the specified PanicTestFunc panics.
  //
  //   assert.Panics(t, func(){ GoCrazy() })