style: 合入后修 group_test gofmt 与 err 阴影
This commit is contained in:
@@ -671,8 +671,8 @@ func TestR307CreateRejectsActorDisabledOrDeletedBeforeWrite(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
insertEP(t, db, "alice", 1)
|
||||
insertEP(t, db, "bob", 1)
|
||||
if err := idApp.SelfSetTalkPassword(ctx, "bob", "secret"); err != nil {
|
||||
t.Fatal(err)
|
||||
if setErr := idApp.SelfSetTalkPassword(ctx, "bob", "secret"); setErr != nil {
|
||||
t.Fatal(setErr)
|
||||
}
|
||||
gate.mutate = func() { tc.mutate(ctx, t, idApp, db) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user