Browse Source

raft: fix error msg

Xiang Li 11 years ago
parent
commit
e26ff32fd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      raft/raft_test.go

+ 1 - 1
raft/raft_test.go

@@ -582,7 +582,7 @@ func TestRecvMsgVote(t *testing.T) {
 			continue
 		}
 		if g := msgs[0].Denied; g != tt.wdenied {
-			t.Errorf("#%d, m.Index = %d, want %d", i, g, tt.wdenied)
+			t.Errorf("#%d, m.Denied = %d, want %d", i, g, tt.wdenied)
 		}
 	}
 }