mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: fix nested dirs in example tars (#5447)
This commit is contained in:
@@ -51,6 +51,6 @@ func TestSubdirs(t *testing.T) {
|
||||
entryPaths[header.Typeflag] = append(entryPaths[header.Typeflag], header.Name)
|
||||
}
|
||||
|
||||
require.Subset(t, entryPaths[tar.TypeDir], []string{"./", "images/"})
|
||||
require.Subset(t, entryPaths[tar.TypeDir], []string{"images"})
|
||||
require.Subset(t, entryPaths[tar.TypeReg], []string{"README.md", "main.tf", "images/base.Dockerfile"})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user