config: remove unused sep variable (#1262)

This commit is contained in:
Lars Lehtonen 2020-02-26 00:25:33 -08:00 committed by GitHub
parent 6aaaf54275
commit 80f2bfd5d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,6 @@ import (
"github.com/micro/go-micro/v2/config/source/file"
)
var (
sep = string(os.PathSeparator)
)
func createFileForIssue18(t *testing.T, content string) *os.File {
data := []byte(content)
path := filepath.Join(os.TempDir(), fmt.Sprintf("file.%d", time.Now().UnixNano()))