From e7d9688ca53361d4125ba5983844624b3d11f8e4 Mon Sep 17 00:00:00 2001 From: Guy Turcotte Date: Tue, 29 Jan 2019 08:43:30 -0500 Subject: [PATCH] Update receive_spec.cpp --- tests/src/receive_spec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/receive_spec.cpp b/tests/src/receive_spec.cpp index 9a18af0..923ce25 100644 --- a/tests/src/receive_spec.cpp +++ b/tests/src/receive_spec.cpp @@ -190,7 +190,7 @@ int test_drop_invalid_remaining_length_message() { int test_receive_oversized_stream_message() { - IT("drops an oversized message"); + IT("receive an oversized streamed message"); reset_callback(); Stream stream; @@ -222,7 +222,7 @@ int test_receive_oversized_stream_message() { IS_TRUE(callback_called); IS_TRUE(strcmp(lastTopic,"topic")==0); - IS_TRUE(lastLength == length-9); + IS_TRUE(lastLength == 0); IS_FALSE(stream.error()); IS_FALSE(shimClient.error());