This commit is contained in:
sunznx 2020-07-20 01:24:51 -05:00 committed by GitHub
parent 0a3cb4d128
commit 2792ccd03e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -604,7 +604,7 @@ func TestFollowerCheckMessageType_MsgAppend2AB(t *testing.T) {
t.Errorf("#%d: term = %+v, want %+v", i, msgs[0].Term, 2)
}
if msgs[0].Reject != tt.wreject {
t.Errorf("#%d: term = %+v, want %+v", i, msgs[0].Reject, tt.wreject)
t.Errorf("#%d: reject = %+v, want %+v", i, msgs[0].Reject, tt.wreject)
}
}
}