mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
del some test code
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user