Skip to content

Commit dc4d05b

Browse files
committed
refact
1 parent 38a703d commit dc4d05b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/assert/assert.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ func callerToString() string {
1616
}
1717

1818
func True(t *testing.T, source bool) {
19+
//lint:ignore S1002 To make it easier to understand
1920
if source == true {
2021
return
2122
}
2223
t.Errorf("got: false, want: true, caller: %s", callerToString())
2324
}
2425

2526
func False(t *testing.T, source bool) {
27+
//lint:ignore S1002 To make it easier to understand
2628
if source == false {
2729
return
2830
}

0 commit comments

Comments
 (0)