From 13107bd15f815fdb970cb37e37c541f509eea40f Mon Sep 17 00:00:00 2001 From: Will McCutchen <will@mccutch.org> Date: Sun, 18 Dec 2016 20:09:04 -0800 Subject: [PATCH] Test coverage --- httpbin/handlers_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httpbin/handlers_test.go b/httpbin/handlers_test.go index 66906c3..7c8da21 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 { -- GitLab