diff options
author | nataxane <[email protected]> | 2022-02-10 16:49:37 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:37 +0300 |
commit | c74cff1222c5ff97080e38da5019b2520991a526 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/io/compression_ut.cpp | |
parent | f20fed3ce6cdb52b09a0d5e53388e293e805ac81 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/io/compression_ut.cpp')
-rw-r--r-- | library/cpp/http/io/compression_ut.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/http/io/compression_ut.cpp b/library/cpp/http/io/compression_ut.cpp index 5871f2e9a17..2f3d131f8c3 100644 --- a/library/cpp/http/io/compression_ut.cpp +++ b/library/cpp/http/io/compression_ut.cpp @@ -31,18 +31,18 @@ Y_UNIT_TEST_SUITE(THttpCompressionTest) { Y_UNIT_TEST(TestDecoder) { TStringStream buffer; - - { + + { TZLibCompress compressor(TZLibCompress::TParams(&buffer).SetType(ZLib::GZip)); compressor.Write(DATA); - } - + } + auto decoder = TCompressionCodecFactory::Instance().FindDecoder("gzip"); UNIT_ASSERT(decoder); - + auto decodedStream = (*decoder)(&buffer); UNIT_ASSERT_EQUAL(decodedStream->ReadAll(), DATA); - } + } Y_UNIT_TEST(TestChooseBestCompressionScheme) { THashSet<TString> accepted; |