Sign in
go
/
tools
/
76f78597112f06eeb07cc891e2976db2502a49e7
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
invertifcondition
/
boolean.go.golden
blob: 9add5996ecebfcd7d5f7d638d9274e8559c3eaba [
file
] [
log
] [
blame
]
--
suggestedfix_boolean_9_2
--
package
invertifcondition
import
(
"fmt"
)
func
Boolean
()
{
b
:=
true
if
!
b
{
fmt
.
Println
(
"B"
)
}
else
{
//@suggestedfix("if b", "refactor.rewrite", "")
fmt
.
Println
(
"A"
)
}
}