diff --git a/httpbin/handlers_test.go b/httpbin/handlers_test.go index 66906c3d39ae83db354282870e9d93c7acab8bda..7c8da21d0cbe4d10387cbcce20a91f8f96ef2e0f 100644 --- a/httpbin/handlers_test.go +++ b/httpbin/handlers_test.go @@ -1216,6 +1216,7 @@ func TestStream(t *testing.T) { {"/stream", http.StatusNotFound}, {"/stream/foo", http.StatusBadRequest}, {"/stream/3.1415", http.StatusBadRequest}, + {"/stream/10/foo", http.StatusNotFound}, } for _, test := range badTests { @@ -1277,6 +1278,7 @@ func TestDelay(t *testing.T) { }{ {"/delay", http.StatusNotFound}, {"/delay/foo", http.StatusBadRequest}, + {"/delay/1/foo", http.StatusNotFound}, } for _, test := range badTests {