diff options
Diffstat (limited to 'v0/utils/filesystem_test.go')
-rw-r--r-- | v0/utils/filesystem_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/v0/utils/filesystem_test.go b/v0/utils/filesystem_test.go index 70e1291..89405a6 100644 --- a/v0/utils/filesystem_test.go +++ b/v0/utils/filesystem_test.go @@ -8,7 +8,7 @@ import ( // ===== Filesystem and hash functionality tests ===== func TestFilesystemCanGetSliceOfFolderContents(t *testing.T) { - dirRoot := "../testdata/project1/" + dirRoot := "../../testdata/project1/" filePaths, err := GetAllFilePaths(dirRoot, nil) if err != nil { @@ -51,7 +51,7 @@ func TestFilesystemGetAllFilePathsFailsForNonExistentDirectory(t *testing.T) { } func TestFilesystemCanIgnoreFilesWhenGettingFilePaths(t *testing.T) { - dirRoot := "../testdata/project3/" + dirRoot := "../../testdata/project3/" pathsIgnored := []string{ "**/ignoredir/", "/excludedir/", @@ -95,7 +95,7 @@ func TestFilesystemCanIgnoreFilesWhenGettingFilePaths(t *testing.T) { // FIXME appropriate permissions to read its (sub)contents func TestFilesystemGetsHashesForFilePath(t *testing.T) { - f := "../testdata/project1/file1.testdata.txt" + f := "../../testdata/project1/file1.testdata.txt" ssha1, ssha256, smd5, err := GetHashesForFilePath(f) if err != nil { |