diff options
Diffstat (limited to 'vespalib/src/tests/portal/portal_test.cpp')
-rw-r--r-- | vespalib/src/tests/portal/portal_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vespalib/src/tests/portal/portal_test.cpp b/vespalib/src/tests/portal/portal_test.cpp index 1baebc69e97..ee5d10a313a 100644 --- a/vespalib/src/tests/portal/portal_test.cpp +++ b/vespalib/src/tests/portal/portal_test.cpp @@ -47,9 +47,8 @@ vespalib::string make_expected_response(const vespalib::string &content_type, co return vespalib::make_string("HTTP/1.1 200 OK\r\n" "Connection: close\r\n" "Content-Type: %s\r\n" - "Content-Length: %zu\r\n" "\r\n" - "%s", content_type.c_str(), content.size(), content.c_str()); + "%s", content_type.c_str(), content.c_str()); } vespalib::string make_expected_error(int code, const vespalib::string &message) { |