We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6858f2 commit c62e308Copy full SHA for c62e308
td/t_hooks.go
@@ -131,7 +131,7 @@ func (t *T) WithCmpHooks(fns ...interface{}) *T {
131
// There is no way to add or remove hooks of an existing *T instance,
132
// only create a new one with this method or WithCmpHooks to add some.
133
//
134
-// AddSmuggleHooks panics if an item of "fns" is not a function or if its
+// WithSmuggleHooks panics if an item of "fns" is not a function or if its
135
// signature does not match the expected ones.
136
func (t *T) WithSmuggleHooks(fns ...interface{}) *T {
137
t = t.copyWithHooks()
0 commit comments