Update receive_spec.cpp

This commit is contained in:
Guy Turcotte
2019-01-29 09:05:26 -05:00
committed by GitHub
parent 7d6e409b59
commit b25040a0d7

View File

@ -222,7 +222,7 @@ int test_receive_oversized_stream_message() {
IS_TRUE(callback_called); IS_TRUE(callback_called);
IS_TRUE(strcmp(lastTopic,"topic")==0); IS_TRUE(strcmp(lastTopic,"topic")==0);
IS_TRUE(lastLength == MQTT_MAX_PACKET_SIZE); IS_TRUE(lastLength == MQTT_MAX_PACKET_SIZE-9);
IS_FALSE(stream.error()); IS_FALSE(stream.error());
IS_FALSE(shimClient.error()); IS_FALSE(shimClient.error());