☰
Debian Codegraph
@
2026.2.1-1
2026.1-4
2026.1-3
/
/
staticcheck
/
sa9003
/
testdata
/
go1.0
/
CheckEmptyBranch
/
CheckEmptyBranch_test.go
☽
☼
staticcheck/sa9003/testdata/go1.0/CheckEmptyBranch/CheckEmptyBranch_test.go
code
plain
raw
Expat
2016-2017 Dominik Honnef
debian/copyright
1
package pkg
2
3
import "testing"
4
5
func TestFoo(t *testing.T) {
6
if true { //@ diag(`empty branch`)
7
// TODO
8
}
9
}
10
11
func ExampleFoo() {
12
if true {
13
// TODO
14
}
15
}