From 858afba44eaff8b2cd8ae53cabac9bba0ca9f06a Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Tue, 30 Aug 2022 20:00:26 +0800 Subject: [PATCH] chore: remove duplicate word in comments Signed-off-by: Abirdcfly --- raft/raft_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raft/raft_test.go b/raft/raft_test.go index 1f374fa97..fd47f1aec 100644 --- a/raft/raft_test.go +++ b/raft/raft_test.go @@ -3250,7 +3250,7 @@ func TestAddNodeCheckQuorum(t *testing.T) { } // TestRemoveNode tests that removeNode could update nodes and -// and removed list correctly. +// removed list correctly. func TestRemoveNode(t *testing.T) { r := newTestRaft(1, 10, 1, newTestMemoryStorage(withPeers(1, 2))) r.applyConfChange(pb.ConfChange{NodeID: 2, Type: pb.ConfChangeRemoveNode}.AsV2()) @@ -3269,7 +3269,7 @@ func TestRemoveNode(t *testing.T) { } // TestRemoveLearner tests that removeNode could update nodes and -// and removed list correctly. +// removed list correctly. func TestRemoveLearner(t *testing.T) { r := newTestLearnerRaft(1, 10, 1, newTestMemoryStorage(withPeers(1), withLearners(2))) r.applyConfChange(pb.ConfChange{NodeID: 2, Type: pb.ConfChangeRemoveNode}.AsV2())