From 46449045a6573ef29e45d049f0ff662c6fbcdeb4 Mon Sep 17 00:00:00 2001 From: Bezalel Brandwine Date: Thu, 14 Oct 2021 14:04:55 +0300 Subject: [PATCH] files tests passed locally on windows --- policyhandler/filesloader_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policyhandler/filesloader_test.go b/policyhandler/filesloader_test.go index 681488b2..f2bea56b 100644 --- a/policyhandler/filesloader_test.go +++ b/policyhandler/filesloader_test.go @@ -3,7 +3,6 @@ package policyhandler import ( "fmt" "os" - "path" "path/filepath" "strings" "testing" @@ -11,8 +10,9 @@ import ( func onlineBoutiquePath() string { o, _ := os.Getwd() - return filepath.Join(path.Dir(o), "examples/online-boutique/*") + return filepath.Join(filepath.Dir(o), "examples/online-boutique/*") } + func TestListFiles(t *testing.T) { workDir, err := os.Getwd() fmt.Printf("\n------------------\n%s,%v\n--------------\n", workDir, err)