Sign in
go
/
tools
/
2dc7ebab284bdfe6bb7ae8b77c3cccb0049e13ce
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
invertifcondition
/
not_boolean.go.golden
blob: 3dfbf0fe33467a66c783b4861968aba998ff28db [
file
] [
log
] [
blame
]
--
suggestedfix_not_boolean_9_2
--
package
invertifcondition
import
(
"fmt"
)
func
NotBoolean
()
{
b
:=
true
if
b
{
fmt
.
Println
(
"B"
)
}
else
{
//@suggestedfix("if !b", "refactor.rewrite", "")
fmt
.
Println
(
"A"
)
}
}