diff --git a/README.md b/README.md index 40372d06..7faea945 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,13 @@ ```shell -TODO +bash <(curl -sSL https://dl.cdn.haozi.net/panel/install_panel.sh) ``` ## 日常维护 ```shell -TODO +panel xxx ``` ## 问题反馈 diff --git a/pkg/tools/system_test.go b/pkg/tools/system_test.go index 80e8692e..07b2a6cc 100644 --- a/pkg/tools/system_test.go +++ b/pkg/tools/system_test.go @@ -48,7 +48,7 @@ func (s *SystemHelperTestSuite) TestRemoveFile() { } func (s *SystemHelperTestSuite) TestExecShell() { - s.Equal("test\n", ExecShell("echo 'test'")) + s.Equal("test", ExecShell("echo 'test'")) } func (s *SystemHelperTestSuite) TestExecShellAsync() {