Skip to content

Commit 65bdb12

Browse files
committed
Remove misleading comment line on AssertErrorWraps.
1 parent 741bcc5 commit 65bdb12

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

test/asserts.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ func AssertError(t *testing.T, err error, message string) {
8383
}
8484

8585
// AssertErrorWraps checks that err can be unwrapped into the given target.
86-
// NOTE: NO LONGER has the side effect of actually performing that unwrapping.
8786
func AssertErrorWraps[E error](t *testing.T, err error) {
8887
t.Helper()
8988
target, ok := errors.AsType[E](err)

0 commit comments

Comments
 (0)