From 30c25f17fa7d6386e33a4894c812f7ca5db990ad Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 28 Apr 2021 14:10:27 +0300 Subject: - Fix middleware order - Update tests - Move worker handler into a separate folder with separate package name Signed-off-by: Valery Piashchynski --- tests/plugins/http/http_plugin_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/plugins/http/http_plugin_test.go') diff --git a/tests/plugins/http/http_plugin_test.go b/tests/plugins/http/http_plugin_test.go index 000fd25d..61486eef 100644 --- a/tests/plugins/http/http_plugin_test.go +++ b/tests/plugins/http/http_plugin_test.go @@ -1671,7 +1671,7 @@ func staticNotForbid(t *testing.T) { func serveStaticSample(t *testing.T) { b, r, err := get("http://localhost:21603/tests/static/sample.txt") assert.NoError(t, err) - assert.Equal(t, "sample", b) + assert.Equal(t, "sample\n", b) _ = r.Body.Close() } -- cgit v1.2.3