
* update exhaustive to latest * wip * update dep * update flag name * use versioned dep * add tests * unused file * no need config file * add vars to test * test comment * remove default settings
24 lines
453 B
Go
24 lines
453 B
Go
//args: -Eexhaustive
|
|
package testdata
|
|
|
|
// Code generated by some program. DO NOT EDIT.
|
|
|
|
// Should not report missing cases in the switch statement below, because this
|
|
// is a generated file as indicated by the above comment
|
|
// (golang.org/s/generatedcode), and check-generated setting is false.
|
|
|
|
type Direction int
|
|
|
|
const (
|
|
North Direction = iota
|
|
East
|
|
South
|
|
West
|
|
)
|
|
|
|
func processDirectionGenerated(d Direction) {
|
|
switch d {
|
|
case North, South:
|
|
}
|
|
}
|