raft: fix typo

release-2.0
Blake Mizerany 2014-06-13 15:43:37 -07:00 committed by Yicheng Qin
parent cc3a8e26c8
commit cb2095cddc
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const (
defaultElection = 5
)
func TestTickMsgHub(t *testing.T) {
func TestTickMsgHup(t *testing.T) {
n := New(0, defaultHeartbeat, defaultElection)
n.sm = newStateMachine(0, []int{0, 1, 2})