Commit 3ddbd836 authored by Janos Guljas's avatar Janos Guljas

fix a small typo in pingpong api test comment

parent ab18e99e
...@@ -64,7 +64,7 @@ func TestPingpong(t *testing.T) { ...@@ -64,7 +64,7 @@ func TestPingpong(t *testing.T) {
t.Run("error", func(t *testing.T) { t.Run("error", func(t *testing.T) {
jsonhttptest.ResponseDirect(t, client, http.MethodPost, "/pingpong/"+errorPeerID.String(), nil, http.StatusInternalServerError, jsonhttp.StatusResponse{ jsonhttptest.ResponseDirect(t, client, http.MethodPost, "/pingpong/"+errorPeerID.String(), nil, http.StatusInternalServerError, jsonhttp.StatusResponse{
Code: http.StatusInternalServerError, Code: http.StatusInternalServerError,
Message: http.StatusText(http.StatusInternalServerError), // do not leek internal error Message: http.StatusText(http.StatusInternalServerError), // do not leak internal error
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment