Update client_test.go

This commit is contained in:
Philip O'Toole
2017-03-15 13:31:39 +00:00
committed by GitHub
parent 1f3fe1df2e
commit 5f04ec8c4a

View File

@@ -176,6 +176,7 @@ func Test_ClientRegisterFollowerOK(t *testing.T) {
}
}
// Test_ClientRegisterFollowerMultiOK tests how the client responds to getting a list of nodes it can join.
func Test_ClientRegisterFollowerMultiOK(t *testing.T) {
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if r.Method != "POST" {