chore(lint): fix from gofmt -s

This commit is contained in:
Bo-Yi Wu
2020-03-14 08:50:27 +08:00
committed by Ken Hibino
parent 310d38620d
commit 30b68728d4
2 changed files with 5 additions and 5 deletions

View File

@@ -884,7 +884,7 @@ func TestWriteProcessStateWithWorkers(t *testing.T) {
gotWorkers[key] = &w
}
wantWorkers := map[string]*base.WorkerInfo{
msg1.ID.String(): &base.WorkerInfo{
msg1.ID.String(): {
Host: host,
PID: pid,
ID: msg1.ID,
@@ -893,7 +893,7 @@ func TestWriteProcessStateWithWorkers(t *testing.T) {
Payload: msg1.Payload,
Started: w1Started,
},
msg2.ID.String(): &base.WorkerInfo{
msg2.ID.String(): {
Host: host,
PID: pid,
ID: msg2.ID,