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:
Ethan
2024-11-15 01:20:51 +11:00
committed by GitHub
parent d3eb896543
commit b96177613b
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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"})
}