mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
ci: fix go tests not running if examples are updated (#15514)
- https://github.com/coder/coder/pull/15504 broke CI on main because of the aforementioned issue, this also fixes the test failure.
This commit is contained in:
@@ -51,6 +51,5 @@ func TestSubdirs(t *testing.T) {
|
||||
entryPaths[header.Typeflag] = append(entryPaths[header.Typeflag], header.Name)
|
||||
}
|
||||
|
||||
require.Subset(t, entryPaths[tar.TypeDir], []string{"build"})
|
||||
require.Subset(t, entryPaths[tar.TypeReg], []string{"README.md", "main.tf", "build/Dockerfile"})
|
||||
require.Subset(t, entryPaths[tar.TypeReg], []string{"README.md", "main.tf"})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user