From b9f75534ef37384adcb751b466b94a32f7736acb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sat, 22 Jul 2023 02:36:08 +0800 Subject: [PATCH] feat: update v2.0.7 --- README.md | 4 ++-- pkg/tools/system_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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() {