Skip to content

Commit 0eb20a8

Browse files
committed
test(java-cfenv): reset deps slice in BeforeEach to avoid accumulation across re-runs
1 parent 7f113cd commit 0eb20a8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/java/frameworks/java_cf_env_artifact_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ var _ = Describe("Java CF Env artifact", func() {
5050
var deps []manifestDependency
5151

5252
BeforeEach(func() {
53+
deps = nil
54+
5355
manifestPath, err := filepath.Abs(filepath.Join("..", "..", "..", "manifest.yml"))
5456
Expect(err).NotTo(HaveOccurred())
5557

0 commit comments

Comments
 (0)