This commit is contained in:
Roy Crihfield 2022-02-16 11:13:51 +08:00
parent 73cc0f191b
commit 3fda647ee9
2 changed files with 0 additions and 5 deletions

View File

@ -16,7 +16,6 @@
package publisher package publisher
import ( import (
// "bufio"
"encoding/csv" "encoding/csv"
"fmt" "fmt"
"os" "os"

View File

@ -59,8 +59,6 @@ func verifyFileData(t *testing.T, path string, tbl *snapt.Table) {
break break
} }
test.NoError(t, err) test.NoError(t, err)
// _, err = tbl.fromCsvRow(row)
// test.NoError(t, err)
} }
} }
@ -68,8 +66,6 @@ func TestWriting(t *testing.T) {
dir := t.TempDir() dir := t.TempDir()
// tempdir like /tmp/TempFoo/001/, TempFoo defaults to 0700 // tempdir like /tmp/TempFoo/001/, TempFoo defaults to 0700
test.NoError(t, os.Chmod(filepath.Dir(dir), 0755)) test.NoError(t, os.Chmod(filepath.Dir(dir), 0755))
// dir, _ := os.Getwd()
// dir += "/dump"
pub := writeFiles(t, dir) pub := writeFiles(t, dir)