2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

refactor: 重构 tools.Remove 函数

This commit is contained in:
耗子
2023-11-14 02:16:18 +08:00
parent 83cbae034c
commit f7d65fc22e
14 changed files with 80 additions and 35 deletions

View File

@@ -46,7 +46,7 @@ func (s *SystemHelperTestSuite) TestRemove() {
err := os.WriteFile(filePath, []byte("test data"), 0644)
s.Nil(err)
s.True(Remove(filePath))
s.Nil(Remove(filePath))
}
func (s *SystemHelperTestSuite) TestExec() {