mirror of
https://github.com/securego/gosec.git
synced 2025-11-27 22:28:20 +02:00
Fix test for helpers
Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
committed by
Grant Murphy
parent
5ae52660ae
commit
adcfe94257
@@ -20,7 +20,7 @@ var _ = Describe("Helpers", func() {
|
|||||||
_, err = ioutil.TempFile(dir, "test*.go")
|
_, err = ioutil.TempFile(dir, "test*.go")
|
||||||
Expect(err).ShouldNot(HaveOccurred())
|
Expect(err).ShouldNot(HaveOccurred())
|
||||||
})
|
})
|
||||||
JustAfterEach(func() {
|
AfterEach(func() {
|
||||||
err := os.RemoveAll(dir)
|
err := os.RemoveAll(dir)
|
||||||
Expect(err).ShouldNot(HaveOccurred())
|
Expect(err).ShouldNot(HaveOccurred())
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user