From 650cd53fbd6c7236b1ef1377016c88febb21ef53 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 24 Jan 2026 03:38:43 +0000 Subject: [PATCH] Tweak inspect message test Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- tests/inspect_message_test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/inspect_message_test.h b/tests/inspect_message_test.h index 774d65674..f95cd951c 100644 --- a/tests/inspect_message_test.h +++ b/tests/inspect_message_test.h @@ -6,7 +6,7 @@ the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY except by those people which sell it, which + but WITHOUT ANY WARRANTY except by those people who sell it, which are required to give you total support for your newly bought product; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -40,7 +40,7 @@ private: InspectMessage_Struct incoming{}; InspectMessage_Struct stored{}; - std::string long_text(300, 'A'); + std::string long_text(sizeof(incoming.text) + 44, 'A'); strn0cpy(incoming.text, long_text.c_str(), sizeof(incoming.text)); strn0cpy(stored.text, incoming.text, sizeof(stored.text));