Skip to content

Commit

Permalink
manager tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Feb 18, 2024
1 parent a8f513e commit 6b6e356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cache/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ func Test_currentWsp(t *testing.T) {
}
}

var workspaceFiles = []string{"ora600.bin", "sdump.bin", "foo.bin", "bar.bin", "provider.bin"}

func prepareDir(t *testing.T, dir string) {
for _, filename := range testFiles(dir) {
if err := os.WriteFile(filename, []byte("dummy"), 0600); err != nil {
Expand All @@ -54,6 +52,8 @@ func prepareDir(t *testing.T, dir string) {
}
}

var workspaceFiles = []string{"ora600.bin", "sdump.bin", "foo.bin", "bar.bin", "provider.bin", "default.bin"}

func testFiles(dir string) []string {
files := make([]string, 0, len(workspaceFiles))
for _, filename := range workspaceFiles {
Expand Down

0 comments on commit 6b6e356

Please sign in to comment.