diff --git a/testutils/pkg.go b/testutils/pkg.go index 93f789f..a7dbdb0 100644 --- a/testutils/pkg.go +++ b/testutils/pkg.go @@ -129,8 +129,8 @@ func (p *TestPackage) CreateContext(filename string) *gas.Context { func (p *TestPackage) Close() { if p.ondisk { err := os.RemoveAll(p.Path) - if err != nil { - log.Fatal(err) - } + if err != nil { + log.Fatal(err) + } } }