We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e5ffcc commit c3ba021Copy full SHA for c3ba021
1 file changed
test/integration/net/http/service.cpp
@@ -88,7 +88,7 @@ void Service::ready()
88
printf("Error: %s \n", err.to_string().c_str());
89
90
CHECKSERT(!err, "No error");
91
- printf("Received body: %s\n", res->body());
+ printf("Received body: %.*s\n", static_cast<int>(res->body().length()), res->body().data());
92
CHECKSERT(res->body() == "/testing", "Received body: \"/testing\"");
93
94
printf("SUCCESS\n");
0 commit comments