del some test code

This commit is contained in:
jroam
2019-04-16 23:15:22 +08:00
parent 9503b80d57
commit ab634f8beb

View File

@ -48,12 +48,6 @@ func formatpath(paths string) string {
// 指定返回要测试的目录
func testpath() string {
return os.TempDir()
psths, err := filepath.Abs("./")
if err != nil {
return os.TempDir()
}
return strings.Replace(psths, "./", "/", 1)
}
func TestGetContents(t *testing.T) {