summaryrefslogtreecommitdiff
path: root/tests/plugins/http/http_plugin_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/http/http_plugin_test.go')
-rw-r--r--tests/plugins/http/http_plugin_test.go2
1 files changed, 1 insertions, 1 deletions
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()
}