Skip to content

Commit 6a60048

Browse files
committed
Add comment to avoid possible confusion
1 parent a81ef4c commit 6a60048

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/internal/utils/utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,6 @@ func (t *T) RunTest(tests ...func(*T) error) (err error) {
120120
}
121121
}
122122

123+
// Note that the return value 'err' may be updated by the 'defer' statement before despite it's returning nil here.
123124
return nil
124125
}

0 commit comments

Comments
 (0)