Skip to content

Commit

Permalink
tests: deleted unreachable code (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abirdcfly authored Aug 9, 2022
1 parent a83f853 commit 6d5cf9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/raft/raft_etcd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,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].Reject; g != tt.wreject {
t.Errorf("#%d, m.Reject = %v, want %v", i, g, tt.wreject)
Expand Down

0 comments on commit 6d5cf9d

Please sign in to comment.