diff options
| author | kulikov <[email protected]> | 2022-02-10 16:49:34 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:34 +0300 |
| commit | 65e5266709e7ff94b14ae128309e229de714b0df (patch) | |
| tree | d4901f06e56d95f5e5d36bd1806bcc144d03bf41 /util/stream/ios_ut.cpp | |
| parent | 0041d99876ae3dccc3f0fa8787131d85ddfd486b (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/ios_ut.cpp')
| -rw-r--r-- | util/stream/ios_ut.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/stream/ios_ut.cpp b/util/stream/ios_ut.cpp index 139f4296e50..9db05b9fba5 100644 --- a/util/stream/ios_ut.cpp +++ b/util/stream/ios_ut.cpp @@ -261,21 +261,21 @@ void TStreamsTest::TestBufferStream() { stream.Write(s.data(), s.size()); char buf[5]; - size_t bytesRead = stream.Read(buf, 4); - UNIT_ASSERT_EQUAL(4, bytesRead); + size_t bytesRead = stream.Read(buf, 4); + UNIT_ASSERT_EQUAL(4, bytesRead); UNIT_ASSERT_EQUAL(0, strncmp(s.data(), buf, 4)); stream.Write(s.data(), s.size()); - bytesRead = stream.Read(buf, 2); - UNIT_ASSERT_EQUAL(2, bytesRead); + bytesRead = stream.Read(buf, 2); + UNIT_ASSERT_EQUAL(2, bytesRead); UNIT_ASSERT_EQUAL(0, strncmp("te", buf, 2)); - bytesRead = stream.Read(buf, 2); - UNIT_ASSERT_EQUAL(2, bytesRead); + bytesRead = stream.Read(buf, 2); + UNIT_ASSERT_EQUAL(2, bytesRead); UNIT_ASSERT_EQUAL(0, strncmp("st", buf, 2)); - bytesRead = stream.Read(buf, 2); - UNIT_ASSERT_EQUAL(0, bytesRead); + bytesRead = stream.Read(buf, 2); + UNIT_ASSERT_EQUAL(0, bytesRead); } namespace { |
