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