浏览代码

raft: fix error msg

Xiang Li 11 年之前
父节点
当前提交
e26ff32fd8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 		}
 	}
 }