Skip to content

Commit d94cf88

Browse files
authored
fix the style-check eror
1 parent 2235456 commit d94cf88

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

test/test.cc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10287,12 +10287,15 @@ TEST(UniversalClientImplTest, Ipv6LiteralAddress) {
1028710287

1028810288
TEST(UniversalClientImplTest, Ipv6LiteralAddressHostDefaultPort) {
1028910289
/*
10290-
When Java Servlet parses the request header host, it will split the IP and port.
10291-
When using the default port (not passed by default), if there is no [] distinction,
10292-
Java will use the last colon of IPv6 as the port delimiter, and Java parsing will report an error
10290+
When Java Servlet parses the request header host,
10291+
it will split the IP and port. When using the default
10292+
port (not passed by default), if there is no []
10293+
distinction, Java will use the last colon of IPv6
10294+
as the port delimiter,and Java parsing will
10295+
report an error.
1029310296
*/
1029410297
httplib::Server svr;
10295-
svr.Get("/", [&](const httplib::Request & req, httplib::Response &res) {
10298+
svr.Get("/", [&](const httplib::Request &req, httplib::Response &res) {
1029610299
res.status = httplib::StatusCode::OK_200;
1029710300
res.set_content(req.get_header_value("Host", ""), "text/plain");
1029810301
});

0 commit comments

Comments
 (0)