From 3fda647ee910862051c1f3aa6c2c078afd074f43 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Wed, 16 Feb 2022 11:13:51 +0800 Subject: [PATCH] clean up --- pkg/snapshot/file/publisher.go | 1 - pkg/snapshot/file/publisher_test.go | 4 ---- 2 files changed, 5 deletions(-) diff --git a/pkg/snapshot/file/publisher.go b/pkg/snapshot/file/publisher.go index 7b3d5c7..d7d46ac 100644 --- a/pkg/snapshot/file/publisher.go +++ b/pkg/snapshot/file/publisher.go @@ -16,7 +16,6 @@ package publisher import ( - // "bufio" "encoding/csv" "fmt" "os" diff --git a/pkg/snapshot/file/publisher_test.go b/pkg/snapshot/file/publisher_test.go index 9505373..ac8c9fe 100644 --- a/pkg/snapshot/file/publisher_test.go +++ b/pkg/snapshot/file/publisher_test.go @@ -59,8 +59,6 @@ func verifyFileData(t *testing.T, path string, tbl *snapt.Table) { break } test.NoError(t, err) - // _, err = tbl.fromCsvRow(row) - // test.NoError(t, err) } } @@ -68,8 +66,6 @@ func TestWriting(t *testing.T) { dir := t.TempDir() // tempdir like /tmp/TempFoo/001/, TempFoo defaults to 0700 test.NoError(t, os.Chmod(filepath.Dir(dir), 0755)) - // dir, _ := os.Getwd() - // dir += "/dump" pub := writeFiles(t, dir)