Skip to content

Commit f251031

Browse files
authored
change err log output format (talent-plan#430)
1 parent 70a9cc6 commit f251031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

raft/rawnode_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func TestRawNodeRestart2AC(t *testing.T) {
206206
}
207207
rd := rawNode.Ready()
208208
if !reflect.DeepEqual(rd, want) {
209-
t.Errorf("g = %+v,\n w %+v", rd, want)
209+
t.Errorf("g = %#v,\n w %#v", rd, want)
210210
}
211211
rawNode.Advance(rd)
212212
if rawNode.HasReady() {
@@ -242,7 +242,7 @@ func TestRawNodeRestartFromSnapshot2C(t *testing.T) {
242242
t.Fatal(err)
243243
}
244244
if rd := rawNode.Ready(); !reflect.DeepEqual(rd, want) {
245-
t.Errorf("g = %+v,\n w %+v", rd, want)
245+
t.Errorf("g = %#v,\n w %#v", rd, want)
246246
} else {
247247
rawNode.Advance(rd)
248248
}

0 commit comments

Comments
 (0)