gofmt: 清理 admin/executor 测试文件的对齐空格

这两个文件在 HEAD 上就未通过 gofmt, 但 go test 不检查 gofmt,
所以一直没暴露. 修一下让 gofmt -l . 干净, 否则新加的 commit
之前都得先 stash.

纯格式变更, 无逻辑变化.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
tao.chen
2026-07-13 19:55:26 +08:00
co-authored by Claude
parent 44c9f415b7
commit 67d1e9a6c5
2 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -29,8 +29,8 @@ func TestRun_FakeBinary(t *testing.T) {
defer cancel()
res, err := Run(ctx, SparkSubmitOpts{
Binary: "/bin/echo",
Args: []string{"--master", "yarn; rm -rf /tmp/this-should-not-exist"},
Binary: "/bin/echo",
Args: []string{"--master", "yarn; rm -rf /tmp/this-should-not-exist"},
Timeout: 3 * time.Second,
})
if err != nil {
@@ -54,8 +54,8 @@ func TestRun_NonZeroExit(t *testing.T) {
t.Skip("uses unix binary")
}
res, err := Run(context.Background(), SparkSubmitOpts{
Binary: "/bin/sh",
Args: []string{"-c", "exit 7"},
Binary: "/bin/sh",
Args: []string{"-c", "exit 7"},
Timeout: 3 * time.Second,
})
if err == nil {