We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38a703d commit dc4d05bCopy full SHA for dc4d05b
1 file changed
test/assert/assert.go
@@ -16,13 +16,15 @@ func callerToString() string {
16
}
17
18
func True(t *testing.T, source bool) {
19
+ //lint:ignore S1002 To make it easier to understand
20
if source == true {
21
return
22
23
t.Errorf("got: false, want: true, caller: %s", callerToString())
24
25
26
func False(t *testing.T, source bool) {
27
28
if source == false {
29
30
0 commit comments