Browse Source

raft: fix typo

Blake Mizerany 11 years ago
parent
commit
cb2095cddc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      raft/node_test.go

+ 1 - 1
raft/node_test.go

@@ -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})