 ac77eaac68
			
		
	
	
		ac77eaac68
		
	
	
	
	
		
			
			ed64e33c8c8bc9a919e2b85a1a08225b5ae59d70. Also add tests for local mode of goimports and do refactoring of tests.
		
			
				
	
	
		
			12 lines
		
	
	
		
			291 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			291 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //args: -Edepguard --depguard.include-go-root --depguard.packages='compress/*,log'
 | |
| package testdata
 | |
| 
 | |
| import (
 | |
| 	"compress/gzip" // ERROR "`compress/gzip` is in the blacklist"
 | |
| 	"log"           // ERROR "`log` is in the blacklist"
 | |
| )
 | |
| 
 | |
| func SpewDebugInfo() {
 | |
| 	log.Println(gzip.BestCompression)
 | |
| }
 |