aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/writer_test.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/datamaps/writer_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/datamaps/writer_test.go b/pkg/datamaps/writer_test.go
index e16ce10..e168f8d 100644
--- a/pkg/datamaps/writer_test.go
+++ b/pkg/datamaps/writer_test.go
@@ -4,6 +4,7 @@ import (
"fmt"
"os"
"os/exec"
+ "path/filepath"
"strings"
"testing"
@@ -38,9 +39,9 @@ func TestWriteMaster(t *testing.T) {
XLSXPath: "./testdata/",
}
- // defer func() {
- // os.Remove(filepath.Join(opts.MasterOutPutPath, "master.xlsx"))
- // }()
+ defer func() {
+ os.Remove(filepath.Join(opts.MasterOutPutPath, "master.xlsx"))
+ }()
if err := DatamapToDB(&opts); err != nil {
t.Fatalf("Unable to write datamap to database file because %v.", err)