mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
		
			213 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			213 B
		
	
	
	
		
			Go
		
	
	
	
	
	
|  | package assets
 | ||
|  | 
 | ||
|  | import (
 | ||
|  | 	"strings"
 | ||
|  | 	"testing"
 | ||
|  | )
 | ||
|  | 
 | ||
|  | func TestPath(t *testing.T) {
 | ||
|  | 	if actual := Path(); !strings.HasSuffix(actual, ".caddy") {
 | ||
|  | 		t.Errorf("Expected path to be a .caddy folder, got: %v", actual)
 | ||
|  | 	}
 | ||
|  | }
 |