Skip to content

Commit c62e308

Browse files
committed
docs: typo
Signed-off-by: Maxime Soulé <[email protected]>
1 parent e6858f2 commit c62e308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

td/t_hooks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (t *T) WithCmpHooks(fns ...interface{}) *T {
131131
// There is no way to add or remove hooks of an existing *T instance,
132132
// only create a new one with this method or WithCmpHooks to add some.
133133
//
134-
// AddSmuggleHooks panics if an item of "fns" is not a function or if its
134+
// WithSmuggleHooks panics if an item of "fns" is not a function or if its
135135
// signature does not match the expected ones.
136136
func (t *T) WithSmuggleHooks(fns ...interface{}) *T {
137137
t = t.copyWithHooks()

0 commit comments

Comments
 (0)