mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
delete unreachable code
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
parent
525d53bd41
commit
37b920e9f4
@ -1546,7 +1546,6 @@ func testRecvMsgVote(t *testing.T, msgType pb.MessageType) {
|
||||
msgs := sm.readMessages()
|
||||
if g := len(msgs); g != 1 {
|
||||
t.Fatalf("#%d: len(msgs) = %d, want 1", i, g)
|
||||
continue
|
||||
}
|
||||
if g := msgs[0].Type; g != voteRespMsgType(msgType) {
|
||||
t.Errorf("#%d, m.Type = %v, want %v", i, g, voteRespMsgType(msgType))
|
||||
|
Loading…
x
Reference in New Issue
Block a user