2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 12:40:25 +08:00

fix: test

This commit is contained in:
耗子
2024-05-23 21:04:20 +08:00
parent fddb076136
commit 1102aba9a3

View File

@@ -175,8 +175,8 @@ func (s *SystemHelperTestSuite) TestChmod() {
err := Write(filePath.Name(), "test data", 0644)
s.Nil(err)
s.Nil(Chmod(filePath.Name(), 0755))
s.Nil(filePath.Close())
s.Nil(Chmod(filePath.Name(), 0755))
s.Nil(Remove(filePath.Name()))
}