Skip to content

Commit cb8025b

Browse files
committed
Fix typo
The test's function name correctly labelled it as bad, but the comment conflicted with this.
1 parent 1655c03 commit cb8025b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checkReturnValue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func thenBranchGoodInterproceduralError() error {
108108
func thenBranchBadInterproceduralError() error {
109109

110110
if errorSource() != ErrNone {
111-
// Good: returning nil despite an error
111+
// Bad: returning nil despite an error
112112
return getNil()
113113
}
114114
doSomething()

0 commit comments

Comments
 (0)