Skip to content

Commit

Permalink
change err log output format (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
RagingSpud committed Nov 1, 2022
1 parent 70a9cc6 commit f251031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raft/rawnode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func TestRawNodeRestart2AC(t *testing.T) {
}
rd := rawNode.Ready()
if !reflect.DeepEqual(rd, want) {
t.Errorf("g = %+v,\n w %+v", rd, want)
t.Errorf("g = %#v,\n w %#v", rd, want)
}
rawNode.Advance(rd)
if rawNode.HasReady() {
Expand Down Expand Up @@ -242,7 +242,7 @@ func TestRawNodeRestartFromSnapshot2C(t *testing.T) {
t.Fatal(err)
}
if rd := rawNode.Ready(); !reflect.DeepEqual(rd, want) {
t.Errorf("g = %+v,\n w %+v", rd, want)
t.Errorf("g = %#v,\n w %#v", rd, want)
} else {
rawNode.Advance(rd)
}
Expand Down

0 comments on commit f251031

Please sign in to comment.