 58234f055c
			
		
	
	
		58234f055c
		
			
		
	
	
	
	
		
			
			* 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
		
			
				
	
	
		
			20 lines
		
	
	
		
			259 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			259 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //args: -Eexhaustive
 | |
| //config_path: testdata/configs/exhaustive_default.yml
 | |
| package testdata
 | |
| 
 | |
| type Direction int
 | |
| 
 | |
| const (
 | |
| 	North Direction = iota
 | |
| 	East
 | |
| 	South
 | |
| 	West
 | |
| )
 | |
| 
 | |
| func processDirectionDefault(d Direction) {
 | |
| 	switch d {
 | |
| 	case North, South:
 | |
| 	default:
 | |
| 	}
 | |
| }
 |