ed64e33c8c8bc9a919e2b85a1a08225b5ae59d70. Also add tests for local mode of goimports and do refactoring of tests.
		
			
				
	
	
		
			10 lines
		
	
	
		
			162 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			162 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//args: -Egofmt
 | 
						|
package testdata
 | 
						|
 | 
						|
import "fmt"
 | 
						|
 | 
						|
func GofmtNotSimplified() {
 | 
						|
	var x []string
 | 
						|
	fmt.Print(x[1:len(x)]) // ERROR "File is not `gofmt`-ed with `-s`"
 | 
						|
}
 |