3 func fn() bool { return true }
6 if x { // want `should use 'return x'`
31 func fn4() bool { return true }
34 if fn() { // want `should use 'return !fn\(\)'`
41 if fn3() != fn3() { // want `should use 'return fn3\(\) != fn3\(\)'`
48 if 1 > 2 { // want `should use 'return 1 > 2'`
61 func fn9(x int) bool {
68 func fn10(x int) bool {
69 if x > 0 { // want `should use 'return x <= 0'`
75 func fn11(x bool) bool {
76 if x { // want `should use 'return !x'`
84 if x[0] { // want `should use 'return !x\[0\]'`
90 func fn13(a, b int) bool {
91 if a != b { // want `should use 'return a == b' instead of 'if a != b`