aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_asio_stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/unit_asio_stream.cpp')
-rw-r--r--src/tests/unit_asio_stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unit_asio_stream.cpp b/src/tests/unit_asio_stream.cpp
index 9800dfc32..dcb0783de 100644
--- a/src/tests/unit_asio_stream.cpp
+++ b/src/tests/unit_asio_stream.cpp
@@ -671,7 +671,7 @@ class Asio_Stream_Tests final : public Test
auto write_handler = [&](const error_code &ec, std::size_t bytes_transferred)
{
- result.test_eq("didn't transfer anything", bytes_transferred, 0);
+ result.test_eq("committed some bytes to the core", bytes_transferred, TEST_DATA_SIZE);
result.confirm("propagates error code", ec == net::error::eof);
};