diff options
author | bulatman <bulatman@yandex-team.com> | 2023-06-10 13:55:11 +0300 |
---|---|---|
committer | bulatman <bulatman@yandex-team.com> | 2023-06-10 13:55:11 +0300 |
commit | d570836295decdb827b4f95d75ebf2d8d9232b9b (patch) | |
tree | 859f3511dc3166e935b9c3438f6beee050816001 /library/cpp/http | |
parent | 91497eb27263e2feb35b53a90773e7207752a2ec (diff) | |
download | ydb-d570836295decdb827b4f95d75ebf2d8d9232b9b.tar.gz |
Remove extra semicolon (library)
Diffstat (limited to 'library/cpp/http')
-rw-r--r-- | library/cpp/http/fetch/http_digest.cpp | 2 | ||||
-rw-r--r-- | library/cpp/http/io/stream_ut.cpp | 4 | ||||
-rw-r--r-- | library/cpp/http/server/http_ut.cpp | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/http/fetch/http_digest.cpp b/library/cpp/http/fetch/http_digest.cpp index 1eaa02b7f2..4dff4b047d 100644 --- a/library/cpp/http/fetch/http_digest.cpp +++ b/library/cpp/http/fetch/http_digest.cpp @@ -94,7 +94,7 @@ void httpDigestHandler::digestCalcHA1(const THttpAuthHeader& hd, } ctx.End(outSessionKey); -}; +} /************************************************************/ /* calculate request-digest/response-digest as per HTTP Digest spec */ diff --git a/library/cpp/http/io/stream_ut.cpp b/library/cpp/http/io/stream_ut.cpp index 1ea35df675..02401fffd9 100644 --- a/library/cpp/http/io/stream_ut.cpp +++ b/library/cpp/http/io/stream_ut.cpp @@ -355,7 +355,7 @@ Y_UNIT_TEST_SUITE(THttpStreamTest) { size_t bodyPos = str.find(bodyDelimiter); UNIT_ASSERT(bodyPos != TString::npos); return str.substr(bodyPos + strlen(bodyDelimiter)); - }; + } TString SimulateBodyEncoding(const char* body) { TString bodyStr; @@ -364,7 +364,7 @@ Y_UNIT_TEST_SUITE(THttpStreamTest) { TZLibCompress comprOut(&chunkOut, ZLib::GZip); comprOut << body; return bodyStr; - }; + } Y_UNIT_TEST(TestRebuildStreamOnPost) { const char* body = "<html>Hello</html>"; diff --git a/library/cpp/http/server/http_ut.cpp b/library/cpp/http/server/http_ut.cpp index 7fc918f74f..b570d1e6e3 100644 --- a/library/cpp/http/server/http_ut.cpp +++ b/library/cpp/http/server/http_ut.cpp @@ -539,7 +539,7 @@ Y_UNIT_TEST_SUITE(THttpServerTest) { UNIT_ASSERT_EXCEPTION_CONTAINS(r.Execute(), TSystemError, "Connection reset by peer"); server.Stop(); - }; + } Y_UNIT_TEST(TTestReleaseConnection) { TPortManager pm; @@ -557,7 +557,7 @@ Y_UNIT_TEST_SUITE(THttpServerTest) { server.Stop(); UNIT_ASSERT_STRINGS_EQUAL(serverImpl.ExceptionMessage, "(yexception) some error"); - }; + } THttpInput SendRequest(TSocket& socket, ui16 port) { TSocketInput si(socket); @@ -715,7 +715,7 @@ Y_UNIT_TEST_SUITE(THttpServerTest) { UNIT_ASSERT(resp == TString::Join("127.0.0.1", ":", ToString(port2))); server.Stop(); - }; + } #if 0 Y_UNIT_TEST(TestSocketsLeak) { |