Skip to content
Snippets Groups Projects
Commit 13107bd1 authored by Will McCutchen's avatar Will McCutchen
Browse files

Test coverage

parent c14e0e55
No related branches found
No related tags found
No related merge requests found
...@@ -1216,6 +1216,7 @@ func TestStream(t *testing.T) { ...@@ -1216,6 +1216,7 @@ func TestStream(t *testing.T) {
{"/stream", http.StatusNotFound}, {"/stream", http.StatusNotFound},
{"/stream/foo", http.StatusBadRequest}, {"/stream/foo", http.StatusBadRequest},
{"/stream/3.1415", http.StatusBadRequest}, {"/stream/3.1415", http.StatusBadRequest},
{"/stream/10/foo", http.StatusNotFound},
} }
for _, test := range badTests { for _, test := range badTests {
...@@ -1277,6 +1278,7 @@ func TestDelay(t *testing.T) { ...@@ -1277,6 +1278,7 @@ func TestDelay(t *testing.T) {
}{ }{
{"/delay", http.StatusNotFound}, {"/delay", http.StatusNotFound},
{"/delay/foo", http.StatusBadRequest}, {"/delay/foo", http.StatusBadRequest},
{"/delay/1/foo", http.StatusNotFound},
} }
for _, test := range badTests { for _, test := range badTests {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment