Skip to content

Commit

Permalink
206-doublestar-mount Corrected test code for exampleNestedFileTreeWit…
Browse files Browse the repository at this point in the history
…hGlob
  • Loading branch information
bdebyl committed Jul 18, 2022
1 parent 5235037 commit ec29e86
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions internal/plugin/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,13 +335,10 @@ func exampleNestedFileTreeWithGlob(t *testing.T, name string, content []byte) []
nestedDir1, nestedDirClean1 := test.CreateTempDir(t, name1, dir)
t.Cleanup(nestedDirClean1)

_, nestedFileClean1 := test.CreateTempFile(t, name1, content, nestedDir)
_, nestedFileClean1 := test.CreateTempFile(t, name1, content, nestedDir1)
t.Cleanup(nestedFileClean1)

_, nestedFileClean2 := test.CreateTempFile(t, name1, content, nestedDir1)
t.Cleanup(nestedFileClean2)

globPath := fmt.Sprintf("%s/**/%s", dir, nestedDir1)
globPath := fmt.Sprintf("%s/**/%s", testRootMounted, nestedDir1)
return []string{nestedDir, nestedFile, globPath}
}

Expand Down

0 comments on commit ec29e86

Please sign in to comment.